Home
last modified time | relevance | path

Searched refs:rrtype (Results 1 – 9 of 9) 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 value "${rrtype}" is invalid for option "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/
Ddns.js259 function resolve(hostname, rrtype, callback) { argument
261 if (typeof rrtype === 'string') {
262 resolver = resolveMap[rrtype];
263 } else if (typeof rrtype === 'function') {
265 callback = rrtype;
267 throw new ERR_INVALID_ARG_TYPE('rrtype', 'string', rrtype);
273 throw new ERR_INVALID_OPT_VALUE('rrtype', rrtype);
/third_party/node/lib/internal/dns/
Dpromises.js242 Resolver.prototype.resolve = function resolve(hostname, rrtype) { argument
245 if (typeof rrtype === 'string') {
246 resolver = resolveMap[rrtype];
249 throw new ERR_INVALID_OPT_VALUE('rrtype', rrtype);
250 } else if (rrtype === undefined) {
253 throw new ERR_INVALID_ARG_TYPE('rrtype', 'string', rrtype);
/third_party/glib/gio/
Dgthreadedresolver.c657 gint rrtype, in g_resolver_records_from_res_query() argument
719 if (type != rrtype || qclass != C_IN) in g_resolver_records_from_res_query()
725 switch (rrtype) in g_resolver_records_from_res_query()
954 gint rrtype; in do_lookup_records() local
978 rrtype = g_resolver_record_type_to_rrtype (lrd->record_type); in do_lookup_records()
984 len = res_nquery (&res, lrd->rrname, C_IN, rrtype, answer->data, answer->len); in do_lookup_records()
986 len = res_query (lrd->rrname, C_IN, rrtype, answer->data, answer->len); in do_lookup_records()
1000 …records = g_resolver_records_from_res_query (lrd->rrname, rrtype, answer->data, len, herr, &error); in do_lookup_records()
/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.md144 The `rrtype` of resolution requests has no impact on the local address used.
297 ## `dns.resolve(hostname[, rrtype], callback)`
303 * `rrtype` {string} Resource record type. **Default:** `'A'`.
311 records. The type and structure of individual results varies based on `rrtype`:
313 | `rrtype` | `records` contains | Result type | Shorthand method |
872 ### `dnsPromises.resolve(hostname[, rrtype])`
878 * `rrtype` {string} Resource record type. **Default:** `'A'`.
883 based on `rrtype`:
885 | `rrtype` | `records` contains | Result type | Shorthand method |
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md375 * dns: add resolveSoa and 'SOA' rrtype (Tuğrul Topuz)
DCHANGELOG_V4.md1436 …om/nodejs/node/commit/7813af7f16)] - **doc**: Add resolveNaptr and naptr rrtype docs (Doug Wade) […
DCHANGELOG_V6.md4500 …om/nodejs/node/commit/0ae512a3cf)] - **doc**: Add resolveNaptr and naptr rrtype docs (Doug Wade) […