Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.