Subject: bin/12702: incl. ddns-update-style in example dhcpd.conf
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/19/2001 15:39:45
>Number:         12702
>Category:       bin
>Synopsis:       update example dhcpd.conf with ddns-update-style
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 19 07:40:00 PDT 2001
>Originator:     Patrick Welche
>Release:        17 April 2001
If you don't have a ddns-update-style line in dhcpd.conf, dhcpd will print
an explanatory error message and exit, so it should be included in the
/usr/share/examples/dhcp/dhcpd.conf file.
Feel free to improve wording etc!

Index: dhcpd.conf
RCS file: /cvsroot/basesrc/usr.sbin/dhcp/server/dhcpd.conf,v
retrieving revision
diff -u -r1.1.1.4 dhcpd.conf
--- dhcpd.conf	2001/04/02 21:57:18
+++ dhcpd.conf	2001/04/19 14:34:56
@@ -14,6 +14,9 @@
 # network, the authoritative directive should be uncommented.
+# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates.
+ddns-update-style ad-hoc;
 # Use this to send dhcp log messages to a different log file (you also
 # have to hack syslog.conf to complete the redirection).
 log-facility local7;