disable edns negotiation in dig for BIND 9.10

This commit is contained in:
Mark Andrews 2015-05-21 12:23:04 +10:00
parent 105720bad6
commit 70f9dd4bec
2 changed files with 5 additions and 2 deletions

View file

@ -162,7 +162,10 @@
could segfault. [RT #38559]
3993. [func] Dig now supports EDNS negotiation by default.
(dig +[no]ednsnegotiation). [RT #37604]
(dig +[no]ednsnegotiation).
Note: This is disabled by default in BIND 9.10
and enabled by default in BIND 9.11. [RT #37604]
3951. [func] Add the ability to set yet-to-be-defined EDNS flags
to dig (+ednsflags=#). [RT #37142]

View file

@ -837,7 +837,7 @@ make_empty_lookup(void) {
#endif
looknew->ednsopts = NULL;
looknew->ednsoptscnt = 0;
looknew->ednsneg = ISC_TRUE;
looknew->ednsneg = ISC_FALSE;
dns_fixedname_init(&looknew->fdomain);
ISC_LINK_INIT(looknew, link);
ISC_LIST_INIT(looknew->q);