Home
last modified time | relevance | path

Searched refs:rrtype (Results 1 – 13 of 13) 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/cares/test/
Ddns-proto.h23 std::string RRTypeToString(int rrtype);
44 DNSQuestion(const std::string& name, ns_type rrtype, ns_class qclass) in DNSQuestion()
45 : name_(name), rrtype_(rrtype), qclass_(qclass) {} in DNSQuestion()
46 DNSQuestion(const std::string& name, ns_type rrtype) in DNSQuestion()
47 : name_(name), rrtype_(rrtype), qclass_(ns_c_in) {} in DNSQuestion()
56 DNSRR(const std::string& name, ns_type rrtype, ns_class qclass, int ttl) in DNSRR()
57 : DNSQuestion(name, rrtype, qclass), ttl_(ttl) {} in DNSRR()
58 DNSRR(const std::string& name, ns_type rrtype, int ttl) in DNSRR()
59 : DNSQuestion(name, rrtype), ttl_(ttl) {} in DNSRR()
66 DNSAddressRR(const std::string& name, ns_type rrtype, int ttl, in DNSAddressRR()
[all …]
Ddns-proto.cc84 std::string RRTypeToString(int rrtype) { in RRTypeToString() argument
85 switch (rrtype) { in RRTypeToString()
294 int rrtype = DNS_RR_TYPE(*data); in RRToString() local
295 if (rrtype == ns_t_opt) { in RRToString()
297 ss << RRTypeToString(rrtype) << " "; in RRToString()
301 ss << RRTypeToString(rrtype) << " "; in RRToString()
311 switch (rrtype) { in RRToString()
Dares-test.cc319 int rrtype = DNS_QUESTION_TYPE(question); in ProcessFD() local
326 << "', " << RRTypeToString(rrtype) << ")" << std::endl; in ProcessFD()
328 ProcessRequest(fd, &addr, addrlen, qid, namestr, rrtype); in ProcessFD()
339 int qid, const std::string& name, int rrtype) { in ProcessRequest() argument
341 OnRequest(name, rrtype); in ProcessRequest()
Dares-test.h144 MOCK_METHOD2(OnRequest, void(const std::string& name, int rrtype));
164 int qid, const std::string& name, int 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.c158 uint16_t rrtype, rrpaylen; in lws_adns_iterate() local
247 rrtype = lws_ser_ru16be(&p[0]); in lws_adns_iterate()
287 switch (rrtype) { in lws_adns_iterate()
309 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) […