Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer
    
Thanks, that solves my problem. – RobM Oct 15 '10 at 13:49

Why not just create a CNAME pointing to me.company.com? I don't think this is possible with dhclient.

share|improve this answer
    
Because I don't own the DNS servers. :-) – RobM Feb 1 '10 at 10:24
1  
Then you are out - that is not what DHCP is supposed to do, so there is no way to do it. – TomTom Jul 4 '10 at 8:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.