]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add answer-cookie as a obsolete option
authorMark Andrews <marka@isc.org>
Fri, 8 Jun 2018 06:59:55 +0000 (16:59 +1000)
committerEvan Hunt <each@isc.org>
Fri, 8 Jun 2018 18:21:43 +0000 (11:21 -0700)
CHANGES
bin/named/config.c
doc/arm/Bv9ARM-book.xml
lib/isccfg/namedconf.c

diff --git a/CHANGES b/CHANGES
index 547bed9c5a5785ea991efaadd46c5e4c599f6606..c6ee9d6fa50a47d1315b85ea234d81b48b8cda35 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+4967.  [cleanup]       Add "answer-cookie" to the parser, marked obsolete.
+
+4966.  [placeholder]
+
 4965.  [func]          Add support for marking options as deprecated.
                        [GL #322]
 
index 1689211039b08fbf27fc33f013302f0fee02f3ee..eb78c2cddce3adbcc396e224d6ffb292c654bb26 100644 (file)
@@ -47,6 +47,7 @@
 /*% default configuration */
 static char defaultconf[] = "\
 options {\n\
+#      answer-cookie <obsolete>;\n\
        automatic-interface-scan yes;\n\
        bindkeys-file \"" NAMED_SYSCONFDIR "/bind.keys\";\n\
 #      blackhole {none;};\n"
index 4f428a45e10af52ab27a0701f8cc712347d75534..8f2bfca31b1fb9b4f54b7c884dd9506acfe8ef9b 100644 (file)
@@ -5776,7 +5776,7 @@ options {
              <term><command>fetch-glue</command></term>
              <listitem>
                <para>
-                 This option is obsolete.
+                 <emphasis>This option is obsolete</emphasis>.
                  In BIND 8, <userinput>fetch-glue yes</userinput>
                  caused the server to attempt to fetch glue resource records
                  it
@@ -6080,6 +6080,18 @@ options {
              </listitem>
            </varlistentry>
 
+           <varlistentry>
+             <term><command>answer-cookie</command></term>
+             <listitem>
+               <para>
+                 <emphasis>This option is obsolete</emphasis>.
+                 This option was used to prevent the sending of
+                 a DNS COOKIE option in response to a request with
+                 one present in BIND 9.11 and BIND 9.12.
+               </para>
+             </listitem>
+           </varlistentry>
+
            <varlistentry>
              <term><command>send-cookie</command></term>
              <listitem>
index c9cd59bd8d8a2c0382bd5e0bbc45bb9fa6a2629d..d69051ca1e04fca514c7df1d2ad4edd374eddfaa 100644 (file)
@@ -1030,6 +1030,7 @@ static cfg_type_t cfg_type_fstrm_model = {
  */
 static cfg_clausedef_t
 options_clauses[] = {
+       { "answer-cookie", &cfg_type_boolean, CFG_CLAUSEFLAG_OBSOLETE },
        { "automatic-interface-scan", &cfg_type_boolean, 0 },
        { "avoid-v4-udp-ports", &cfg_type_bracketed_portlist, 0 },
        { "avoid-v6-udp-ports", &cfg_type_bracketed_portlist, 0 },