Interface ResolveDNSOptions

interface ResolveDNSOptions {
    nocache?: boolean;
    offline?: boolean;
    onProgress?: ((evt) => void);
    resolvers?: DNSResolver[];
    signal?: AbortSignal;
}

Hierarchy

Properties

nocache?: boolean

Do not use cached DNS entries (default: false)

offline?: boolean

Do not query the network for the IPNS record (default: false)

onProgress?: ((evt) => void)

Type declaration

resolvers?: DNSResolver[]

These resolvers will be used to resolve the dnslink entries, if unspecified node will fall back to the dns module and browsers fall back to querying google/cloudflare DoH

signal?: AbortSignal

Generated using TypeDoc