Get a shuffled array of the IP addresses currently configured for DNS resolution.
These addresses are formatted according to RFC 5952. It can include a custom port.
Returns string[]
cancel
cancel(): void
Cancel all outstanding DNS queries made by this resolver. Any outstanding
requests will be aborted and promises rejected.
Returns void
clearCache
clearCache(): void
Returns void
getServers
getServers(): string[]
Get an array of the IP addresses currently configured for DNS resolution.
These addresses are formatted according to RFC 5952. It can include a custom port.
DNS over HTTP resolver. Uses a list of servers to resolve DNS records with HTTP requests.