|
From: Friedrich L. <fl...@fl...> - 2002-01-16 23:18:14
|
On Tue, 15 Jan 2002 18:11, no...@so... wrote: > Bugs item #501581, was opened at 2002-01-09 17:07 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=410643&aid=501581&group_id=34096 > > Category: Configuration / Scripts > Group: None > >Status: Closed > >Resolution: Rejected > Priority: 5 > Submitted By: Heiko Zuerker (smiley73) > >Assigned to: Heiko Zuerker (smiley73) > Summary: missing parameter in /etc/dhcpd.conf > > Initial Comment: > add "ddns-update-style add-hoc;" > to the file "/etc/dhcpd.conf". > > ---------------------------------------------------------------------- > > >Comment By: Heiko Zuerker (smiley73) > Date: 2002-01-15 18:11 > > Message: > Logged In: YES > user_id=112133 > > Parameter is missing in the standard config file, which is > distributed with the sources. > I don't want to provide our own config file, so the user has > do change it on his own. > He has to config the file anyway. Shouldn't we set it to the safer behaviour of ddns-update-style none; so at least people get it running right away. If you take an old config and don't know about the command ddns-update-style you're lost for some time till you stumble over it somewhere, like I did once. I suggest using this as a starting config (simple_dhcpd.conf): ##---CUT---## # a minimal /etc/dhcpd.conf example # this statement is needed by dhcpd-3 # it needs at least this statement. ## REMOVE the '#' from the following line, otherwise it wont start #ddns-update-style none; # this subnet is served by us authoritative; # declare the lease times (the time after which a client will renew its lease) default-lease-time 600; # 10 minutes max-lease-time 7200; # 2 hours # let's give the local domain a name # (which should correlate to your name server configuration) option domain-name "beer"; # this assumes that your dhcp server is also the router for the subnet option routers 192.168.0.1; # clients shall use this host as nameserver, too option domain-name-servers 192.168.0.1; # this can explicitely be specified option broadcast-address 192.168.0.255; # these 10 addresses will be given out dynamically subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.11 192.168.0.20; # options may also be put here if they are not global } # this host is known by its hardware address and # we want a fixed address for it host murauer { hardware ethernet 00:30:65:6F:A5:D4; fixed-address 192.168.0.5; } ##---CUT---## -- MfG / Regards Friedrich Lobenstock |