DHClient.conf – Sending Multiple Hostnames to DHCP Server

debiandhcpdomain-name-systemlinuxvirtualhost

Already working:

  • Debian box
  • DHCP with send host-name me.company.com in dhclient.conf
  • DNS updates automatically with an entry for me.company.com

What I want to add:

  • Send a second host-name, so both are automatically registered with DNS

In other words: I want a DHCP client to register with DNS twice using different names, preferably without having to maintain DNS records manually.

Is this even possible with DHCP?

Best Answer

Why not have two IP addresses on a single client interface and send in two DHCP-with-hostname requests, use a reservation if you want to be consistent. Obviously it's a waste of an IP but it should work just fine.