ResolveSoa
[<Interface>]
type ResolveSoa =
abstract member Invoke (hostname: string, callback: Callback) : unit
abstract member __promisify__ (hostname: string) : Promise<SoaRecord>| Assembly | Xantham.Fable.Node |
Declared inside
Callback |
Methods
abstract member Invoke (hostname: string, callback: Callback) : unit
abstract member Invoke (hostname: string, callback: Callback) : unitUses 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
}
@since v0.11.10
abstract member __promisify__ (hostname: string) : Promise<SoaRecord>