]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fix tag
authorEvan Hunt <each@isc.org>
Sat, 9 Sep 2017 01:22:12 +0000 (18:22 -0700)
committerEvan Hunt <each@isc.org>
Sat, 9 Sep 2017 01:22:12 +0000 (18:22 -0700)
bin/dig/dig.c
doc/arm/notes.xml

index 2d13374455c5cf8d3d1d9fc23c5bba42415acf23..6826845d84e5f60394c8cdbac780415bf4e82165 100644 (file)
@@ -892,11 +892,14 @@ plus_option(const char *option, isc_boolean_t is_batchfile,
                        break;
                case 'n': /* dnssec */
                        FULLCHECK("dnssec");
+ dnssec:
                        if (state && lookup->edns == -1)
                                lookup->edns = 0;
                        lookup->dnssec = state;
                        break;
-               case 'o': /* domain */
+               case 'o': /* domain ... but treat "do" as synonym for dnssec */
+                       if (cmd[2] == '\0')
+                               goto dnssec;
                        FULLCHECK("domain");
                        if (value == NULL)
                                goto need_value;
index 97491873a466c87d15ad20564b85f948543ef335..308e5a174c28d3ddcff13f65de2fe1bf21e1500f 100644 (file)
     <itemizedlist>
       <listitem>
        <para>
-         The lightweight resolver daemon and library (<comand>lwresd</command>
+         The lightweight resolver daemon and library (<command>lwresd</command>
          and <command>liblwres</command>) have been removed. [RT #45186]
        </para>
       </listitem>