HomeSort by: relevance | last modified time | path
    Searched refs:qtype (Results 1 - 25 of 198) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/external/mpl/bind/dist/bin/tests/system/reclimit/ans4/
ans.pl 62 my ($qname, $qclass, $qtype) = @_;
65 print ("request: $qname/$qtype\n");
72 if ($qtype eq "TXT") {
74 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
86 if ($qtype eq "A") {
88 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
90 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n");
101 if ($qtype eq "A") {
103 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
105 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n")
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/reclimit/ans2/
ans.pl 62 my ($qname, $qclass, $qtype) = @_;
65 print ("request: $qname/$qtype\n");
72 if ($qtype eq "TXT") {
74 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
86 if ($qtype eq "A") {
88 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
103 } elsif ($qtype eq "A") {
105 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
117 if ($qtype eq "A") {
119 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata")
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/reclimit/ans7/
ans.pl 42 my ($qname, $qclass, $qtype, $peerhost, $query, $conn) = @_;
45 print ("request: $qname/$qtype\n");
51 if ($qtype eq "TXT") {
53 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
  /src/external/mpl/bind/dist/bin/tests/system/serve-stale/ans2/
ans.pl 79 my ($qname, $qclass, $qtype) = @_;
82 print ("request: $qname/$qtype\n");
88 if ($qtype eq "TXT") {
96 if ($qtype eq "TXT") {
104 if ($qtype eq "TXT") {
125 if ($qtype eq "A") {
134 if ($qtype eq "NS") {
139 } elsif ($qtype eq "SOA") {
152 if ($qtype eq "TXT") {
161 if ($qtype eq "A")
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/resolver/ans2/
ans.pl 60 my $qtype = $questions[0]->qtype;
62 if ($qname eq "com" && $qtype eq "NS") {
65 } elsif ($qname eq "example.com" && $qtype eq "NS") {
85 } elsif ($qname eq "org" && $qtype eq "NS") {
88 } elsif ($qname eq "example.org" && $qtype eq "NS") {
91 } elsif (($qname eq "baddname.example.org" || $qname eq "gooddname.example.org") && $qtype eq "NS") {
101 if ($qtype eq "A") {
105 } elsif ($qtype eq "AAAA") {
110 } elsif ($qname eq "net" && $qtype eq "NS")
    [all...]
  /src/usr.sbin/altq/altqstat/
qdisc_conf.c 78 int fd, qtype = 0; local
102 qtype = qtypereq.arg;
104 if (st->altqtype == qtype)
108 return (qtype);
  /src/external/mpl/bind/dist/bin/tests/system/qmin/
qmin_ans.py 36 qtype = dns.rdatatype.to_text(qctx.qtype)
37 if qtype in ("A", "AAAA"):
38 qtype = "ADDR"
41 print(f"{qtype} {qname}", file=query_log)
  /src/external/ibm-public/postfix/dist/src/dns/
dns_sec.c 85 int qtype; local
117 || (qtype = dns_type(saved_dnssec_probe)) == 0)
118 msg_fatal("malformed %s value: %s format is qtype:qname",
122 dns_status = dns_lookup(qname, qtype, rflags, &rrlist, (VSTRING *) 0, why);
  /src/external/mpl/bind/dist/bin/tests/system/fetchlimit/ans4/
ans.py 33 if qctx.qtype in (dns.rdatatype.A, dns.rdatatype.AAAA):
34 addr = "192.0.2.1" if qctx.qtype == dns.rdatatype.A else "2001:db8:beef::1"
35 rrset = dns.rrset.from_text(qctx.qname, 300, qctx.qclass, qctx.qtype, addr)
  /src/external/bsd/unbound/dist/services/cache/
dns.h 134 * @param qtype: query type.
149 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
184 * @param qtype: query type.
198 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
219 * @param qtype: query section type
225 struct dns_msg* dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype,
268 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
276 * @param qtype: query type, host order.
281 uint16_t qtype, uint16_t qclass, uint16_t flags);
  /src/external/bsd/unbound/dist/testdata/pylib.tdir/
pylib.lookup.py 13 qtype = unbound.RR_TYPE_A variable
50 status, result = ctx.resolve(qname, qtype, qclass)
63 retval, async_id = ctx.resolve_async(qname, cb_data, callback, qtype, qclass)
87 retval, async_id = ctx.resolve_async(qname, cb_data, callback, qtype, qclass)
88 retval, async_id = ctx.resolve_async(qname2, cb_data2, callback, qtype, qclass)
  /src/tests/lib/libc/net/
h_dns_server.c 71 int qtype; member in struct:dns_data
246 int qtype, qclass; local
258 qtype = *p++ << 8;
259 qtype |= *p++;
260 if (qtype != dp->qtype) {
262 qtype, dp->qtype);
265 DPRINTF("match type 0x%x\n", qtype);
283 *p++ = dp->qtype >> 8
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/digdelv/ans6/
ans.pl 56 my $qtype = $questions[0]->qtype;
61 if ($qtype eq "A") {
  /src/external/mpl/bind/dist/bin/tests/system/forward/ans6/
ans.py 49 if qctx.qname == ns1_sld_tld and qctx.qtype == dns.rdatatype.A:
53 elif qctx.qname == ns1_sld_tld and qctx.qtype == dns.rdatatype.AAAA:
57 elif qctx.qname.is_subdomain(sld_tld) and qctx.qtype == dns.rdatatype.NS:
  /src/external/bsd/unbound/dist/contrib/
unbound-querycachedb.py 15 def _calc_hashkey(qname, secret, qtype):
20 socket.htons(dns.rdatatype.from_text(qtype)),
30 print(';; query=%s/IN/%s' % (qname, options.qtype))
58 parser.add_option("-t", "--qtype", dest="qtype", action="store",
59 default='A', help="query RR type", metavar='QTYPE')
68 key = _calc_hashkey(args[0], options.secret, options.qtype)
  /src/external/bsd/unbound/dist/pythonmod/examples/
resgen.py 48 if (qstate.qinfo.qtype == RR_TYPE_A) or (qstate.qinfo.qtype == RR_TYPE_ANY):
resip.py 63 if (qstate.qinfo.qtype == RR_TYPE_TXT) or (qstate.qinfo.qtype == RR_TYPE_ANY):
  /src/external/mpl/bind/dist/bin/tests/system/digdelv/ans7/
ans.pl 61 my $qtype = $questions[0]->qtype;
  /src/external/mpl/bind/dist/bin/tests/system/dnssec/ans10/
ans.py 27 return qctx.qtype == dns.rdatatype.A
45 return qctx.qtype == dns.rdatatype.TXT
  /src/external/mpl/bind/dist/bin/tests/system/resolver/ans8/
ans.pl 62 my $qtype = $questions[0]->qtype;
66 my $response = new Net::DNS::Packet($qname, $qtype, $qclass);
74 if ($qname eq "no-questions" && $qtype eq "NS") {
80 if ($qtype eq "A");
116 my $qtype = $questions[0]->qtype;
121 my $response = new Net::DNS::Packet($qname, $qtype, $qclass);
  /src/external/mpl/bind/dist/bin/tests/system/rpzrecurse/ans5/
ans.py 31 return qctx.qtype == dns.rdatatype.A
45 return qctx.qtype == dns.rdatatype.NS
  /src/external/mpl/bind/dist/bin/tests/system/tsig/
tests_badtime.py 38 def create_msg(qname, qtype, edns=-1):
39 msg = dns.message.make_query(qname, qtype, use_edns=edns)
  /src/external/mpl/bind/dist/bin/tests/system/resolver/ans3/
ans.pl 68 my $qtype = $questions[0]->qtype;
70 if ($qname eq "example.net" && $qtype eq "NS") {
86 if ($qtype eq "A") {
88 } elsif ($qtype eq "AAAA") {
95 } elsif (($qname eq "baddname.example.net" || $qname eq "gooddname.example.net") && $qtype eq "NS") {
153 if ($qtype eq "SOA") {
156 } elsif ($qtype eq "NS") {
169 if ($qtype eq "A") {
177 if ($qtype eq "A")
    [all...]
  /src/external/bsd/libbind/dist/irs/
dns_ho.c 117 int qclass, qtype; /*%< class and type of query */ member in struct:dns_res_target
169 const char *qname, int qtype,
268 q->qtype = T_A;
276 q->qtype = T_AAAA;
309 if ((n = res_nsearch(pvt->res, name, p->qclass, p->qtype,
317 if ((hp = gethostans(this, p->answer, n, name, p->qtype,
370 q->qtype = T_PTR;
378 q->qtype = T_PTR;
384 q2->qtype = T_PTR;
471 if ((n = res_nquery(pvt->res, p->qname, p->qclass, p->qtype,
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/filters/
common.py 76 def check_nodata(dest, source, qname, qtype, do, adflag):
77 msg = isctest.query.create(qname, qtype, dnssec=do)
87 def check_additional(dest, source, qname, qtype, ftype, expected, adcount):
88 msg = isctest.query.create(qname, qtype)
106 for qtype in ["a", "aaaa"]:
107 isctest.log.debug(f"{addr}: {name}.{zone}/{qtype}")
108 isctest.query.tcp(isctest.query.create(f"{name}.{zone}", qtype), addr)
112 qtype = ftype.upper()
114 f"check that {qtype} is returned when only {qtype} record exists, signed
    [all...]

Completed in 38 milliseconds

1 2 3 4 5 6 7 8