dns API
Asynchronous DNS API
Permissions
Functions
resolve(hostname, [flags])
Resolves a hostname to a DNS record.
Required permissions
Types
DNSRecord
An object encapsulating a DNS Record.
object
addresses
(array of string)
isTRR
(string)
Record retreived with TRR.
[canonicalName
]
(string, optional)
The canonical hostname for this record. this value is empty if the record was not fetched with the ‘canonical_name’ flag.
ResolveFlags
array of string
Supported values:
allow_name_collisions
bypass_cache
canonical_name
disable_ipv4
disable_ipv6
disable_trr
offline
priority_low
priority_medium
speculate