]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Remove ddns-update-style warning by changing default to "none".
authorShane Kerr <shane@isc.org>
Mon, 17 Sep 2007 10:13:07 +0000 (10:13 +0000)
committerShane Kerr <shane@isc.org>
Mon, 17 Sep 2007 10:13:07 +0000 (10:13 +0000)
See RT ticket #17103 for more.

RELNOTES
server/dhcpd.c
server/dhcpd.conf.5

index 76a7485fc391d0203a69d7c878a65409d782197a..047aab82158f68711cd9c97451608420265b4ce4 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -55,6 +55,9 @@ suggested fixes to <dhcp-users@isc.org>.
 
                        Changes since 4.0.0a2
 
+- The DHCP server no longer requires a "ddns-update-style" statement, 
+  and now defaults to "none", which means DNS updates are disabled.
+
 - Fix for startup where there are no IPv4 addresses on an interface.
   Thanks to Marcus Goller for reporting the bug.
 
index bd134b29089c4256224fe1e99ab5d661982b6cf2..744bbef12de0993e370c8235d743ecf7b95c2a50 100644 (file)
@@ -870,15 +870,7 @@ void postconf_initialization (int quiet)
                        data_string_forget (&db, MDL);
                }
        } else {
-               log_info ("%s", "");
-               log_error ("** You must add a global ddns-update-style %s%s.",
-                          "statement to ", path_dhcpd_conf);
-               log_error ("   To get the same behaviour as in 3.0b2pl11 %s",
-                          "and previous");
-               log_error ("   versions, add a line that says \"%s\"",
-                          "ddns-update-style ad-hoc;");
-               log_fatal ("   Please read the dhcpd.conf manual page %s",
-                          "for more information. **");
+               ddns_update_style = DDNS_UPDATE_STYLE_NONE;
        }
 
        oc = lookup_option (&server_universe, options, SV_LOG_FACILITY);
index 1244076a55d08e4a2142c3b0ec73dc4c6c1de2cc..de7e8ab254dacea9f4c3475aef01676e04f87da0 100644 (file)
@@ -28,7 +28,7 @@
 .\" see ``http://www.vix.com''.   To learn more about Nominum, Inc., see
 .\" ``http://www.nominum.com''.
 .\"
-.\" $Id: dhcpd.conf.5,v 1.87 2007/07/20 19:18:24 dhankins Exp $
+.\" $Id: dhcpd.conf.5,v 1.88 2007/09/17 10:13:07 shane Exp $
 .\"
 .TH dhcpd.conf 5
 .SH NAME
@@ -1997,7 +1997,8 @@ parameter must be one of \fBad-hoc\fR, \fBinterim\fR or \fBnone\fR.
 The \fIddns-update-style\fR statement is only meaningful in the outer
 scope - it is evaluated once after reading the dhcpd.conf file, rather
 than each time a client is assigned an IP address, so there is no way
-to use different DNS update styles for different clients.
+to use different DNS update styles for different clients. The default
+is \fBnone\fR.
 .RE
 .PP
 .B The