Node dns.promises.resolveSoa function | API Reference | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:dns/promises/
resolveSoaFresolveSoa
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:dns/promises/
resolveSoaFresolveSoa
function
dns.promises.resolveSoafunction
resolveSoa(hostname: string): Promise
SoaRecord>;
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
}
Referenced typesinterface
SoaRecordexpire: number
hostmaster: string
minttl: number
nsname: string
refresh: number
retry: number
serial: number
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →