function
dns.lookupService
address: string,
port: number
): Promise<[hostname: string, service: string]>;
Look up the host name of an address and the service name of a port, without blocking a thread
import { dns } from 'bun';
console.log(await dns.lookupService('127.0.0.1', 22)); // ["localhost", "ssh"]