src/nodejs/jsdns

    Dark Mode
Search:
Group by:
  Source   Edit

Lets

ADDRGETNETWORKPARAMS: cstring
  Source   Edit
BADFAMILY: cstring
  Source   Edit
BADFLAGS: cstring
  Source   Edit
BADHINTS: cstring
  Source   Edit
BADNAME: cstring
  Source   Edit
BADQUERY: cstring
  Source   Edit
BADRESP: cstring
  Source   Edit
BADSTR: cstring
  Source   Edit
CANCELLED: cstring
  Source   Edit
CONNREFUSED: cstring
  Source   Edit
DESTRUCTION: cstring
  Source   Edit
FILE: cstring
  Source   Edit
FORMERR: cstring
  Source   Edit
LOADIPHLPAPI: cstring
  Source   Edit
NODATA: cstring
  Source   Edit
NOMEM: cstring
  Source   Edit
NONAME: cstring
  Source   Edit
NOTFOUND: cstring
  Source   Edit
NOTIMP: cstring
  Source   Edit
NOTINITIALIZED: cstring
  Source   Edit
REFUSED: cstring
  Source   Edit
SERVFAIL: cstring
  Source   Edit
TIMEOUT: cstring
  Source   Edit

Procs

func cancel(self: Resolver) {.importjs: "#.$1()", ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_resolver_cancel   Source   Edit
func getServers(self: Resolver): seq[cstring] {.importjs: "#.$1()", ...raises: [],
    tags: [].}
  Source   Edit
func importDns() {.importjs: "import * as dns from \'dns\'@", ...raises: [],
                   tags: [].}
Alias for import * as module_name from 'module_name';. Must be called once before using the module   Source   Edit
func lookup[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback   Source   Edit
func lookupService[T](address: cstring; port: cint; callback: T) {.
    importjs: "dns.$1(#, #, #)", ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_lookupservice_address_port_callback   Source   Edit
func newResolver(timeout = -1.cint): Resolver {.
    importjs: "(new Resolver({timeout: #}))", ...raises: [], tags: [].}
  Source   Edit
func requireDns() {.importjs: "const dns = require(\'dns\')@", ...raises: [],
                    tags: [].}
Alias for const module_name = require('module_name');. Must be called once before using the module   Source   Edit
func resolve[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolve_hostname_rrtype_callback   Source   Edit
func resolve[T](hostname: cstring; rrtype: cstring; callback: T) {.
    importjs: "dns.$1(#, #, #)", ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolve_hostname_rrtype_callback   Source   Edit
func resolve[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolve[T](self: Resolver; hostname: cstring; rrtype: cstring; callback: T) {.
    importjs: "#.$1(#, #, #)", ...raises: [], tags: [].}
  Source   Edit
func resolve4[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolve4_hostname_options_callback   Source   Edit
func resolve4[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolve4[T](self: Resolver; hostname: cstring; ttl: bool; callback: T) {.
    importjs: "#.$1(#, {ttl: #}, #)", ...raises: [], tags: [].}
  Source   Edit
func resolve6[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolve6_hostname_options_callback   Source   Edit
func resolve6[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolve6[T](self: Resolver; hostname: cstring; ttl: bool; callback: T) {.
    importjs: "#.$1(#, {ttl: #}, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveAny[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolveany_hostname_callback   Source   Edit
func resolveAny[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveCaa[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvecaa_hostname_callback   Source   Edit
func resolveCaa[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveCname[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvecname_hostname_callback   Source   Edit
func resolveCname[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveMx[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvemx_hostname_callback   Source   Edit
func resolveMx[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveNaptr[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvenaptr_hostname_callback   Source   Edit
func resolveNaptr[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveNs[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvens_hostname_callback   Source   Edit
func resolveNs[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolvePtr[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolveptr_hostname_callback   Source   Edit
func resolvePtr[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveSoa[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvesoa_hostname_callback   Source   Edit
func resolveSoa[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveSrv[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvesrv_hostname_callback   Source   Edit
func resolveSrv[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func resolveTxt[T](hostname: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_resolvetxt_hostname_callback   Source   Edit
func resolveTxt[T](self: Resolver; hostname: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func reverse[T](ip: cstring; callback: T) {.importjs: "dns.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_reverse_ip_callback   Source   Edit
func reverse[T](self: Resolver; ip: cstring; callback: T) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
  Source   Edit
func setLocalAddress(self: Resolver; ipv4: cstring) {.importjs: "#.$1(#)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_resolver_setlocaladdress_ipv4_ipv6   Source   Edit
func setLocalAddress(self: Resolver; ipv4: cstring; ipv6: cstring) {.
    importjs: "#.$1(#, #)", ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_resolver_setlocaladdress_ipv4_ipv6   Source   Edit
func setServers(servers: openArray[cstring]) {.importjs: "dns.$1(#)",
    ...raises: [], tags: [].}
https://nodejs.org/api/dns.html#dns_dns_setservers_servers   Source   Edit
func setServers[T](self: Resolver; servers: openArray[cstring]) {.
    importjs: "#.$1(#)", ...raises: [], tags: [].}
  Source   Edit