Type of the options argument for Dns.lookup.

Fields

@:optionaloptionalhints:Null<Int>

If present, it should be one or more of the supported getaddrinfo flags. If hints is not provided, then no flags are passed to getaddrinfo. Multiple flags can be passed through hints by logically ORing their values.

@:optionaloptionalfamily:Null<DnsAddressFamily>

The record family. If not provided, both IP v4 and v6 addresses are accepted.

@:optionaloptionalall:Null<Bool>

When true, the callback returns all resolved addresses in an array, otherwise returns a single address. Defaults to false.