Subject: bin/12702: incl. ddns-update-style in example dhcpd.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: None <prlw1@cam.ac.uk>
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
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Welche
>Release:        17 April 2001
>Organization:
>Environment:
NetBSD-1.5U/i386
>Description:
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.
>How-To-Repeat:
>Fix:
Feel free to improve wording etc!

Index: dhcpd.conf
===================================================================
RCS file: /cvsroot/basesrc/usr.sbin/dhcp/server/dhcpd.conf,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 dhcpd.conf
--- dhcpd.conf	2001/04/02 21:57:18	1.1.1.4
+++ dhcpd.conf	2001/04/19 14:34:56
@@ -14,6 +14,9 @@
 # network, the authoritative directive should be uncommented.
 #authoritative;
 
+# 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;
>Release-Note:
>Audit-Trail:
>Unformatted: