As of Bun v0.5.0, the only implemented function is dns.lookup, though more will be implemented soon. You can lookup the IP addresses of a hostname by using dns.lookup. import { dns } from "bun"; const [{ address }] = await dns.lookup("example.com"); console.log(address); // ...