Change DHCP-Server Address

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Jun 28 15:29:00 UTC 2021


Bernd Nachtigall <bnacht at web.de> wrote:

> But maybe they may clean up the documentation:
> 
> server-identifier hostname;
> 
> ... The value specified must be an IP address  for  the
> DHCP server, ...
> 
> Maybe is is more clear to write:
> 
> server-identifier IP-Address;
> 
> ... The value specified must be an IP address  for  the
> DHCP server, ...

AFAIK, almost everywhere you can use an IP address, you can use a (fully qualified ?) host name. Names will be resolved to IP addresses during start up.

There's arguments for and against using names.

They make things clearer, and can mean that you just need to keep your DNS up to date as you move stuff (not that key infrastructure should be moving all that much).

But it means the DHCP service will fail to start if the DNS is down, and you still need to restart the DHCP service if the DNS changes because teh DHCP service will continue using the old values until restarted.

Simon



More information about the dhcp-users mailing list