Types
Resolver = ref object of JsRoot
- https://nodejs.org/api/dns.html#dns_class_dns_resolver Source Edit
Lets
ADDRGETNETWORKPARAMS: cstring
- Source Edit
CONNREFUSED: cstring
- Source Edit
DESTRUCTION: cstring
- Source Edit
LOADIPHLPAPI: cstring
- Source Edit
NOTINITIALIZED: 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 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 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 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 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 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 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 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