M
dns.resolveSoa
History
Added in: v0.11.10
v0.11.10
Introduced in: v0.10.0
v0.10.0
Passing an invalid callback to the
callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0
dns.resolveSoa(hostname, callback): void
Attributes
Uses the DNS protocol to resolve a start of authority record (SOA record) for
the hostname. The address argument passed to the callback function will
be an object with the following properties:
nsnamehostmasterserialrefreshretryexpireminttl
({ nsname: 'ns.example.com', hostmaster: 'root.example.com', serial: 2013101809, refresh: 10000, retry: 2400, expire: 604800, minttl: 3600, });