2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Remove ddns-update-style warning by changing default to "none".

See RT ticket #17103 for more.
This commit is contained in:
Shane Kerr
2007-09-17 10:13:07 +00:00
parent 45d545f03a
commit 884a458f80
3 changed files with 7 additions and 11 deletions

View File

@@ -55,6 +55,9 @@ suggested fixes to <dhcp-users@isc.org>.
Changes since 4.0.0a2 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. - Fix for startup where there are no IPv4 addresses on an interface.
Thanks to Marcus Goller for reporting the bug. Thanks to Marcus Goller for reporting the bug.

View File

@@ -870,15 +870,7 @@ void postconf_initialization (int quiet)
data_string_forget (&db, MDL); data_string_forget (&db, MDL);
} }
} else { } else {
log_info ("%s", ""); ddns_update_style = DDNS_UPDATE_STYLE_NONE;
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. **");
} }
oc = lookup_option (&server_universe, options, SV_LOG_FACILITY); oc = lookup_option (&server_universe, options, SV_LOG_FACILITY);

View File

@@ -28,7 +28,7 @@
.\" see ``http://www.vix.com''. To learn more about Nominum, Inc., see .\" see ``http://www.vix.com''. To learn more about Nominum, Inc., see
.\" ``http://www.nominum.com''. .\" ``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 .TH dhcpd.conf 5
.SH NAME .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 The \fIddns-update-style\fR statement is only meaningful in the outer
scope - it is evaluated once after reading the dhcpd.conf file, rather 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 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 .RE
.PP .PP
.B The .B The