/bind-9.11.3/lib/dns/include/dns/ |
H A D | compress.h | 58 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 D | tests.sh | 18 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 D | dns.h | 63 isc_boolean_t edns, isc_boolean_t dnssec,
|
H A D | resperf.c | 112 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 D | dnsperf.c | 104 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 D | dns.c | 808 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 D | compress.c | 46 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 D | adb.c | 231 * 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 D | resolver.c | 40 #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 D | zone.c | 12286 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 D | tests.sh | 17 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 D | named.conf | 28 edns-version 0;
|
/bind-9.11.3/bin/tests/system/xfer/ |
H A D | setup.sh | 15 $SHELL ../genzone.sh 1 6 7 >ns1/edns-expire.db
|
H A D | clean.sh | 21 rm -f ns1/edns-expire.db
|
H A D | tests.sh | 374 $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 D | feature-test.c | 19 #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 D | mdig.c | 131 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 D | dig.c | 181 " +[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 D | dighost.c | 824 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 D | tests.sh | 518 $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 D | queryperf.c | 173 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 D | dig.h | 178 isc_int16_t edns; member in struct:dig_lookup
|
/bind-9.11.3/bin/named/ |
H A D | client.c | 35 #include <dns/edns.h>
|