dnsPromises.resolveSoa(hostname)
hostname<string>
使用 DNS 协议解析 hostname 的权限起始记录(SOA 记录)。成功时,Promise 将以一个具有以下属性的对象形式被解析:
【Uses the DNS protocol to resolve a start of authority record (SOA record) for
the hostname. On success, the Promise is resolved with 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
}