"dns" | typescript
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const ADDRCONFIG

ADDRCONFIG: number

ADDRGETNETWORKPARAMS

ADDRGETNETWORKPARAMS: string

BADFAMILY

BADFAMILY: string

BADFLAGS

BADFLAGS: string

BADHINTS

BADHINTS: string

BADNAME

BADNAME: string

BADQUERY

BADQUERY: string

BADRESP

BADRESP: string

BADSTR

BADSTR: string

CANCELLED

CANCELLED: string

CONNREFUSED

CONNREFUSED: string

DESTRUCTION

DESTRUCTION: string

EOF

EOF: string

FILE

FILE: string

FORMERR

FORMERR: string

LOADIPHLPAPI

LOADIPHLPAPI: string

NODATA

NODATA: string

NOMEM

NOMEM: string

NONAME

NONAME: string

NOTFOUND

NOTFOUND: string

NOTIMP

NOTIMP: string

NOTINITIALIZED

NOTINITIALIZED: string

REFUSED

REFUSED: string

SERVFAIL

SERVFAIL: string

TIMEOUT

TIMEOUT: string

Const V4MAPPED

V4MAPPED: number

Functions

lookup

  • lookup(hostname: string, family: number, callback: function): void
  • lookup(hostname: string, options: LookupOneOptions, callback: function): void
  • lookup(hostname: string, options: LookupAllOptions, callback: function): void
  • lookup(hostname: string, options: LookupOptions, callback: function): void
  • lookup(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • family: number
    • callback: function

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • hostname: string
    • callback: function

    Returns void

resolve

  • resolve(hostname: string, callback: function): void
  • resolve(hostname: string, rrtype: "A", callback: function): void
  • resolve(hostname: string, rrtype: "AAAA", callback: function): void
  • resolve(hostname: string, rrtype: "CNAME", callback: function): void
  • resolve(hostname: string, rrtype: "MX", callback: function): void
  • resolve(hostname: string, rrtype: "NAPTR", callback: function): void
  • resolve(hostname: string, rrtype: "NS", callback: function): void
  • resolve(hostname: string, rrtype: "PTR", callback: function): void
  • resolve(hostname: string, rrtype: "SOA", callback: function): void
  • resolve(hostname: string, rrtype: "SRV", callback: function): void
  • resolve(hostname: string, rrtype: "TXT", callback: function): void
  • resolve(hostname: string, rrtype: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

  • Parameters

    • hostname: string
    • rrtype: "A"
    • callback: function

    Returns void

  • Parameters

    • hostname: string
    • rrtype: "AAAA"
    • callback: function

    Returns void

  • Parameters

    • hostname: string
    • rrtype: "CNAME"
    • callback: function

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • hostname: string
    • rrtype: "NS"
    • callback: function

    Returns void

  • Parameters

    • hostname: string
    • rrtype: "PTR"
    • callback: function

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • hostname: string
    • rrtype: "TXT"
    • callback: function

    Returns void

  • Parameters

    Returns void

resolve4

  • resolve4(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

resolve6

  • resolve6(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

resolveCname

  • resolveCname(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

resolveMx

  • resolveMx(hostname: string, callback: function): void
  • Parameters

    Returns void

resolveNaptr

  • resolveNaptr(hostname: string, callback: function): void
  • Parameters

    Returns void

resolveNs

  • resolveNs(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

resolvePtr

  • resolvePtr(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

resolveSoa

  • resolveSoa(hostname: string, callback: function): void
  • Parameters

    Returns void

resolveSrv

  • resolveSrv(hostname: string, callback: function): void
  • Parameters

    Returns void

resolveTxt

  • resolveTxt(hostname: string, callback: function): void
  • Parameters

    • hostname: string
    • callback: function

    Returns void

reverse

  • reverse(ip: string, callback: function): void
  • Parameters

    • ip: string
    • callback: function

    Returns void

setServers

  • setServers(servers: string[]): void
  • Parameters

    • servers: string[]

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc