Commit 06a05efc authored by Mark Andrews's avatar Mark Andrews
Browse files

3529. [func] Named now listens on both IPv4 and IPv6 interfaces

                        by default.  Named previously only listened on IPv4
                        interfaces by default unless named was running in
                        IPv6 only mode.  [RT #32945]
parent 831f59eb
3529. [func] Named now listens on both IPv4 and IPv6 interfaces
by default. Named previously only listened on IPv4
interfaces by default unless named was running in
IPv6 only mode. [RT #32945]
3528. [func] New "dnssec-coverage" command scans the timing 3528. [func] New "dnssec-coverage" command scans the timing
metadata for a set of DNSSEC keys and reports if a metadata for a set of DNSSEC keys and reports if a
lapse in signing coverage has been scheduled lapse in signing coverage has been scheduled
......
...@@ -51,6 +51,10 @@ BIND 9 ...@@ -51,6 +51,10 @@ BIND 9
For up-to-date release notes and errata, see For up-to-date release notes and errata, see
http://www.isc.org/software/bind9/releasenotes http://www.isc.org/software/bind9/releasenotes
BIND 9.10.0
Named now listens on both IPv4 and IPv6 interfaces by default.
BIND 9.9.0 BIND 9.9.0
BIND 9.9.0 includes a number of changes from BIND 9.8 and earlier BIND 9.9.0 includes a number of changes from BIND 9.8 and earlier
......
...@@ -71,7 +71,7 @@ options {\n\ ...@@ -71,7 +71,7 @@ options {\n\
host-statistics no;\n\ host-statistics no;\n\
interface-interval 60;\n\ interface-interval 60;\n\
listen-on {any;};\n\ listen-on {any;};\n\
listen-on-v6 {none;};\n\ listen-on-v6 {any;};\n\
match-mapped-addresses no;\n\ match-mapped-addresses no;\n\
max-rsa-exponent-size 0; /* no limit */\n\ max-rsa-exponent-size 0; /* no limit */\n\
memstatistics-file \"named.memstats\";\n\ memstatistics-file \"named.memstats\";\n\
......
...@@ -5300,13 +5300,11 @@ load_configuration(const char *filename, ns_server_t *server, ...@@ -5300,13 +5300,11 @@ load_configuration(const char *filename, ns_server_t *server,
ns_g_aclconfctx, ns_g_aclconfctx,
ns_g_mctx, &listenon); ns_g_mctx, &listenon);
} else if (!ns_g_lwresdonly) { } else if (!ns_g_lwresdonly) {
isc_boolean_t enable;
/* /*
* Not specified, use default. * Not specified, use default.
*/ */
enable = ISC_TF(isc_net_probeipv4() != ISC_R_SUCCESS);
CHECK(ns_listenlist_default(ns_g_mctx, listen_port, CHECK(ns_listenlist_default(ns_g_mctx, listen_port,
enable, &listenon)); ISC_TRUE, &listenon));
} }
if (listenon != NULL) { if (listenon != NULL) {
ns_interfacemgr_setlistenon6(server->interfacemgr, ns_interfacemgr_setlistenon6(server->interfacemgr,
......
...@@ -7719,8 +7719,8 @@ listen-on port 1234 { !1.2.3.4; 1.2/16; }; ...@@ -7719,8 +7719,8 @@ listen-on port 1234 { !1.2.3.4; 1.2/16; };
<para> <para>
The <command>listen-on-v6</command> option is used to The <command>listen-on-v6</command> option is used to
specify the interfaces and the ports on which the server will specify the interfaces and the ports on which the server will
listen listen for incoming queries sent using IPv6. If not specified,
for incoming queries sent using IPv6. the server will listen on port 53 on all IPv6 interfaces.
</para> </para>
   
<para> <para>
...@@ -7769,13 +7769,6 @@ listen-on-v6 port 1234 { !2001:db8::/32; any; }; ...@@ -7769,13 +7769,6 @@ listen-on-v6 port 1234 { !2001:db8::/32; any; };
<programlisting>listen-on-v6 { none; }; <programlisting>listen-on-v6 { none; };
</programlisting> </programlisting>
   
<para>
If no <command>listen-on-v6</command> option is
specified, the server will not listen on any IPv6 address
unless <command>-6</command> is specified when <command>named</command> is
invoked. If <command>-6</command> is specified then
<command>named</command> will listen on port 53 on all IPv6 interfaces by default.
</para>
</sect3> </sect3>
   
<sect3 id="query_address"> <sect3 id="query_address">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment