+4967. [cleanup] Add "answer-cookie" to the parser, marked obsolete.
+
+4966. [placeholder]
+
4965. [func] Add support for marking options as deprecated.
[GL #322]
/*% 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"
<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
</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>
*/
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 },