Dynamic module dns

Index

Functions

Functions

lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) => void): string

Parameters

  • domain: string
  • family: number
  • callback: (err: Error, address: string, family: number) => void

Returns

string

lookup(domain: string, callback: (err: Error, address: string, family: number) => void): string

Parameters

  • domain: string
  • callback: (err: Error, address: string, family: number) => void

Returns

string

resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • rrtype: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolve(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolve4(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolve6(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolveCname(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolveMx(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolveNs(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolveSrv(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

resolveTxt(domain: string, callback: (err: Error, addresses: string[]) => void): Array<string>

Parameters

  • domain: string
  • callback: (err: Error, addresses: string[]) => void

Returns

Array<string>

reverse(ip: string, callback: (err: Error, domains: string[]) => void): Array<string>

Parameters

  • ip: string
  • callback: (err: Error, domains: string[]) => void

Returns

Array<string>