Skip to main content
SocketOptions.lookup - dgram - Node documentation
property SocketOptions.lookup

Usage in Deno

import { type SocketOptions } from "node:dgram";

Type

((
hostname: string,
options: dns.LookupOneOptions,
callback: (
err: ErrnoException | null,
address: string,
family: number,
) => void
,
) => void) | undefined