Module "dns"
Index
Interfaces
Variables
Functions
Variables
Const ADDRCONFIG
ADDRGETNETWORKPARAMS
BADFAMILY
BADFLAGS
BADHINTS
BADNAME
BADQUERY
BADRESP
BADSTR
CANCELLED
CONNREFUSED
DESTRUCTION
EOF
FILE
FORMERR
LOADIPHLPAPI
NODATA
NOMEM
NONAME
NOTFOUND
NOTIMP
NOTINITIALIZED
REFUSED
SERVFAIL
TIMEOUT
Const V4MAPPED
Functions
lookup
-
Parameters
-
hostname: string
-
family: number
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
address: string
-
family: number
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
options: LookupOneOptions
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
address: string
-
family: number
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
options: LookupAllOptions
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: LookupAddress[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
options: LookupOptions
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
address: string | LookupAddress[]
-
family: number
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
address: string
-
family: number
Returns void
-
-
-
Returns void
-
resolve
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "A"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "AAAA"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "CNAME"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "MX"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: MxRecord[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "NAPTR"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: NaptrRecord[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "NS"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "PTR"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "SOA"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: SoaRecord
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "SRV"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: SrvRecord[]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: "TXT"
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[][]
Returns void
-
-
-
Returns void
-
-
Parameters
-
hostname: string
-
rrtype: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][]
Returns void
-
-
-
Returns void
-
resolve4
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
resolve6
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
resolveCname
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
resolveMx
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: MxRecord[]
Returns void
-
-
-
Returns void
-
resolveNaptr
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: NaptrRecord[]
Returns void
-
-
-
Returns void
-
resolveNs
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
resolvePtr
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[]
Returns void
-
-
-
Returns void
-
resolveSoa
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
address: SoaRecord
Returns void
-
-
-
Returns void
-
resolveSrv
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: SrvRecord[]
Returns void
-
-
-
Returns void
-
resolveTxt
-
Parameters
-
hostname: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
addresses: string[][]
Returns void
-
-
-
Returns void
-
reverse
-
Parameters
-
ip: string
-
callback: function
-
-
Parameters
-
err: ErrnoException
-
hostnames: string[]
Returns void
-
-
-
Returns void
-
setServers
-
Parameters
-
servers: string[]
Returns void
-
Generated using TypeDoc