Home
last modified time | relevance | path

Searched refs:rrtype (Results 1 – 8 of 8) sorted by relevance

/third_party/node/test/internet/
Dtest-dns-promises-resolve.js9 const rrtype = 'DUMMY'; constant
11 () => dnsPromises.resolve('example.org', rrtype),
15 message: `The argument 'rrtype' is invalid. Received '${rrtype}'`,
22 const rrtype = 0; constant
24 () => dnsPromises.resolve('example.org', rrtype),
29 `Received type ${typeof rrtype} (${rrtype})`,
37 const rrtype = undefined;
38 const result = await dnsPromises.resolve('example.org', rrtype);
/third_party/node/lib/internal/dns/
Dcallback_resolver.js97 function resolve(hostname, rrtype, callback) { argument
99 if (typeof rrtype === 'string') {
100 resolver = resolveMap[rrtype];
101 } else if (typeof rrtype === 'function') {
103 callback = rrtype;
105 throw new ERR_INVALID_ARG_TYPE('rrtype', 'string', rrtype);
111 throw new ERR_INVALID_ARG_VALUE('rrtype', rrtype);
Dpromises.js306 function resolve(hostname, rrtype) { argument
309 if (rrtype !== undefined) {
310 validateString(rrtype, 'rrtype');
312 resolver = resolveMap[rrtype];
315 throw new ERR_INVALID_ARG_VALUE('rrtype', rrtype);
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns-parse.c159 uint16_t rrtype, rrpaylen; in lws_adns_iterate() local
248 rrtype = lws_ser_ru16be(&p[0]); in lws_adns_iterate()
288 switch (rrtype) { in lws_adns_iterate()
310 cb(stack[0].name, opaque, ttl, rrtype, p); in lws_adns_iterate()
/third_party/node/doc/api/
Ddns.md152 The `rrtype` of resolution requests has no impact on the local address used.
331 ## `dns.resolve(hostname[, rrtype], callback)`
344 * `rrtype` {string} Resource record type. **Default:** `'A'`.
352 records. The type and structure of individual results varies based on `rrtype`:
354 | `rrtype` | `records` contains | Result type | Shorthand method |
1039 ### `dnsPromises.resolve(hostname[, rrtype])`
1046 * `rrtype` {string} Resource record type. **Default:** `'A'`.
1051 based on `rrtype`:
1053 | `rrtype` | `records` contains | Result type | Shorthand method |
1492 [`dns.resolve()`]: #dnsresolvehostname-rrtype-callback
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md382 * dns: add resolveSoa and 'SOA' rrtype (Tuğrul Topuz)
DCHANGELOG_V4.md1456 …om/nodejs/node/commit/7813af7f16)] - **doc**: Add resolveNaptr and naptr rrtype docs (Doug Wade) […
DCHANGELOG_V6.md4544 …om/nodejs/node/commit/0ae512a3cf)] - **doc**: Add resolveNaptr and naptr rrtype docs (Doug Wade) […