Searched refs:edns (Results 1 - 23 of 23) sorted by relevance

/bind-9.11.3/lib/dns/include/dns/
H A Dcompress.h58 int edns; /*%< Edns version or -1. */ member in struct:dns_compress
76 int edns; /*%< Edns version or -1. */ member in struct:dns_decompress
81 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx);
166 * Gets edns value.
222 dns_decompress_init(dns_decompress_t *dctx, int edns,
227 * Records 'edns' and 'type' into the structure.
267 * Returns 'dctx->edns'
/bind-9.11.3/bin/tests/system/legacy/
H A Dtests.sh18 echo "I:checking drop edns server setup ($n)"
20 $DIG +edns @10.53.0.2 -p 5300 dropedns soa > dig.out.1.test$n
28 $DIG +edns +tcp @10.53.0.2 -p 5300 dropedns soa > dig.out.4.test$n
34 echo "I:checking recursive lookup to drop edns server succeeds ($n)"
42 echo "I:checking drop edns + no tcp server setup ($n)"
44 $DIG +edns @10.53.0.3 -p 5300 dropedns-notcp soa > dig.out.1.test$n
55 echo "I:checking recursive lookup to drop edns + no tcp server succeeds ($n)"
65 $DIG +edns @10.53.0.4 -p 5300 plain soa > dig.out.1.test$n || ret=1
82 $DIG +edns @10.53.0.5 -p 5300 plain-notcp soa > dig.out.1.test$n || ret=1
85 $DIG +edns
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddns.h63 isc_boolean_t edns, isc_boolean_t dnssec,
H A Dresperf.c112 static isc_boolean_t edns; variable
272 "enable EDNS 0", NULL, &edns);
334 edns = ISC_TRUE;
480 qid, edns, dnssec, tsigkey, msg);
631 max_packet_size = edns ? MAX_EDNS_PACKET : MAX_UDP_PACKET;
H A Ddnsperf.c104 isc_boolean_t edns; member in struct:__anon55
445 "enable EDNS 0", NULL, &config->edns);
485 config->edns = ISC_TRUE;
586 max_packet_size = config->edns ? MAX_EDNS_PACKET : MAX_UDP_PACKET;
647 qid, config->edns,
H A Ddns.c808 isc_boolean_t edns, isc_boolean_t dnssec,
835 if (edns) {
806 perf_dns_buildrequest(perf_dnsctx_t *ctx, const isc_textregion_t *record, isc_uint16_t qid, isc_boolean_t edns, isc_boolean_t dnssec, perf_dnstsigkey_t *tsigkey, isc_buffer_t *msg) argument
/bind-9.11.3/lib/dns/
H A Dcompress.c46 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx) { argument
50 cctx->edns = edns;
81 cctx->edns = -1;
124 return (cctx->edns);
334 dns_decompress_init(dns_decompress_t *dctx, int edns, argument
338 REQUIRE(edns >= -1 && edns <= 255);
341 dctx->edns = edns;
[all...]
H A Dadb.c231 * including edns state (in "flags"), rtt, and of course the address of
248 unsigned char edns; member in struct:dns_adbentry
1822 e->edns = 0;
3445 fprintf(f, "; [edns success/4096 timeout/1432 timeout/1232 timeout/"
3539 fprintf(f, ";\t%s [srtt %u] [flags %08x] [edns %u/%u/%u/%u/%u] "
3541 entry->edns, entry->to4096, entry->to1432, entry->to1232,
4297 if (addr->entry->edns == 0U &&
4307 addr->entry->edns >>= 1;
4335 addr->entry->edns >>= 1;
4360 * edns timeou
[all...]
H A Dresolver.c40 #include <dns/edns.h>
293 ISC_LIST(struct tried) edns; member in struct:fetchctx
1921 for (tried = ISC_LIST_HEAD(fctx->edns);
1947 ISC_LIST_INITANDAPPEND(fctx->edns, tried, link);
2252 * The ADB does not know about servers with "edns no". Check this,
3869 for (tried = ISC_LIST_HEAD(fctx->edns);
3871 tried = ISC_LIST_HEAD(fctx->edns)) {
3872 ISC_LIST_UNLINK(fctx->edns, tried, link);
4304 ISC_LIST_INIT(fctx->edns);
8020 "received packet (bad edns) fro
[all...]
H A Dzone.c12286 isc_boolean_t edns, usetcp; local
12290 result = dns_peer_getsupportedns(peer, &edns);
12291 if (result == ISC_R_SUCCESS && !edns)
12540 isc_boolean_t edns; local
12544 result = dns_peer_getsupportedns(peer, &edns);
12545 if (result == ISC_R_SUCCESS && !edns)
/bind-9.11.3/bin/tests/system/ednscompliance/
H A Dtests.sh17 echo "I:check +edns=100 sets version 100 ($n)"
19 $DIG -p 5300 @10.53.0.1 +qr +norec +edns=100 soa $zone > dig.out$n
43 $DIG -p 5300 @10.53.0.1 +norec +edns=100 +noednsnegotiation soa $zone > dig.out$n
64 $DIG -p 5300 @10.53.0.1 +norec +edns=100 +noednsneg +ednsopt=100 soa $zone > dig.out$n
86 $DIG -p 5300 @10.53.0.1 +norec +edns=100 +noednsneg +ednsflags=0x80 soa $zone > dig.out$n
97 $DIG -p 5300 @10.53.0.1 +norec +edns=100 soa $zone > dig.out$n
/bind-9.11.3/bin/tests/system/resolver/ns5/
H A Dnamed.conf28 edns-version 0;
/bind-9.11.3/bin/tests/system/xfer/
H A Dsetup.sh15 $SHELL ../genzone.sh 1 6 7 >ns1/edns-expire.db
H A Dclean.sh21 rm -f ns1/edns-expire.db
H A Dtests.sh374 $RNDC -s 10.53.0.7 -p 9953 -c ../common/rndc.conf refresh edns-expire 2>&1 | sed 's/^/I:ns7 /'
378 expire=`awk '/edns-expire\/IN: got EDNS EXPIRE of/ { x=$9 } END { print x }' ns7/named.run`
/bind-9.11.3/bin/tests/system/
H A Dfeature-test.c19 #include <dns/edns.h>
37 fprintf(stderr, " --edns-version\n");
66 if (strcmp(argv[1], "--edns-version") == 0) {
/bind-9.11.3/bin/tools/
H A Dmdig.c131 isc_int16_t edns; member in struct:query
491 add_opt(dns_message_t *msg, isc_uint16_t udpsize, isc_uint16_t edns, argument
497 result = dns_message_buildopt(msg, &rdataset, edns, udpsize, flags,
566 query->edns > -1 || query->ecs_addr != NULL)
576 if (query->edns < 0)
577 query->edns = 0;
677 add_opt(message, query->udpsize, query->edns, flags, opts, i);
778 " +subnet=addr (Set edns-client-subnet option)\n"
779 " +[no]edns[=###] (Set EDNS version) [0]\n"
866 fatal("bad edns cod
[all...]
/bind-9.11.3/bin/dig/
H A Ddig.c181 " +[no]edns[=###] (Set EDNS version) [0]\n"
216 " +subnet=addr (Set edns-client-subnet option)\n"
632 query->lookup->edns != -1 && msg->opt == NULL &&
931 if (state && lookup->edns == -1)
932 lookup->edns = 0;
965 if (state && lookup->edns == -1)
966 lookup->edns = 0;
1003 FULLCHECK("edns");
1005 lookup->edns = -1;
1009 lookup->edns
[all...]
H A Ddighost.c824 looknew->edns = -1;
969 looknew->edns = lookold->edns;
1675 fatal("bad edns code point: %s", code);
1712 add_opt(dns_message_t *msg, isc_uint16_t udpsize, isc_uint16_t edns, argument
1719 result = dns_message_buildopt(msg, &rdataset, edns, udpsize, flags,
2616 lookup->edns > -1 || lookup->ecs_addr != NULL)
2625 if (lookup->edns < 0)
2626 lookup->edns = 0;
2758 lookup->edns, flag
[all...]
/bind-9.11.3/bin/tests/system/resolver/
H A Dtests.sh518 $DIG @10.53.0.5 -p 5300 +edns edns.fetchall.tld any > dig.out.2.${n} || ret=1
519 grep "query: edns.fetchall.tld IN ANY +E" ns5/named.run > /dev/null || ret=1
540 edns=`$FEATURETEST --edns-version`
545 $DIG @10.53.0.5 -p 5300 +edns edns0.fetchall.tld any > dig.out.2.${n} || ret=1
547 if test ${edns:-0} != 0; then
548 $DIG @10.53.0.5 -p 5300 +edns=1 edns1.fetchall.tld any > dig.out.2.${n} || ret=1
554 if test ${edns:-0} != 0; then
556 echo "I:check that edns
[all...]
/bind-9.11.3/contrib/queryperf/
H A Dqueryperf.c173 int edns = FALSE, dnssec = FALSE; variable
647 edns = TRUE;
651 edns = TRUE;
1416 if (edns) {
/bind-9.11.3/bin/dig/include/dig/
H A Ddig.h178 isc_int16_t edns; member in struct:dig_lookup
/bind-9.11.3/bin/named/
H A Dclient.c35 #include <dns/edns.h>

Completed in 256 milliseconds