isc-dhcp-server and use-host-decl-names
I run two dhcpd servers on my LAN with failover and DDNS updates. In the
past I have set certain machines up with fixed addresses and host
names, like so:
host dragonw
{
option host-name "dragonw";
hardware ethernet ee:ee:ee:ee:ee:ee;
fixed-address iii.iii.ii.i;
ddns-hostname dragonw;
}
However, if I understand the man page for dhcpd.conf correctly, I can
get rid of both the ddns-hostname and host-name declarations by
enclosing the host declaration in a group which has use-host-decl-names
on, like so:
ignore client-updates;
group {
use-host-decl-names on;
host dragonw
{
hardware ethernet ee:ee:ee:ee:ee:ee;
fixed-address iii.iii.ii.i;
}
}
However, at least three cases since I made that change, dhcp has used
another name, which I guess is the name requested by the host.
What am I missing?
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: