I've gotten really annoyed at dig not taking the +do option.
Please consider applying this patch, many simple souls like me will
appreciate it a lot :)
Paul
diff -Naur bind-9.8.2-ori/bin/dig/dig.c bind-9.8.2/bin/dig/dig.c
--- bind-9.8.2-ori/bin/dig/dig.c 2012-05-08 22:34:19.059392999 -0400
+++ bind-9.8.2/bin/dig/dig.c 2012-05-08 22:53:56.165071926 -0400
@@ -215,6 +215,7 @@
" +[no]identify (ID responders in short answers)\n"
" +[no]trace (Trace delegation down from root)\n"
" +[no]dnssec (Request DNSSEC records)\n"
+" +[no]do (Request DNSSEC records)\n"
" +[no]nsid (Request Name Server ID)\n"
#ifdef DIG_SIGCHASE
" +[no]sigchase (Chase DNSSEC signatures)\n"
@@ -837,6 +838,13 @@
lookup->dnssec = state;
break;
case 'o': /* domain */
+ if(strlen(cmd) == 2) {
+ if (state && lookup->edns == -1)
+ lookup->edns = 0;
+ lookup->dnssec = state;
+ break;
+ }
+
FULLCHECK("domain");
if (value == NULL)
goto need_value;
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users