Operating System - HP-UX
1834935 Members
2332 Online
110071 Solutions
New Discussion

Re: Unable to set host name on DNS when using DHCP

 
Bernardo Pastorelli
Occasional Advisor

Unable to set host name on DNS when using DHCP

I configured my HP-UX 10.20 box to get IP address from DHCP.
The hostname on the machine is set correctly as configured. But when I query my DNS server, the host-name associated with my IP address is a dhcp-generated one.
I would like the DNS to recognize my host name and correctly associate it with the IP address I obtain from DHCP.
What is wrong with my configuration?

P.S.: I don't know if this can be a useful piece of info, but with Linux boxes configured to lease IP address from a DHCP everything works fine.
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Unable to set host name on DNS when using DHCP

You are right, the Linux part has very little to do with this. If you really want this to work, you need to download,compile, and install
DHCP and BIND (DNS) from http://www.isc.org/. (these are the guys who invented the stuff). You then have dynamic DNS.

If it ain't broke, I can fix that.
John Dvorchak
Honored Contributor

Re: Unable to set host name on DNS when using DHCP

DHCP is a service that configures your Network Interface Card (NIC) set up by your local network guys to automatically configure you IP environment. It doesn't talk to DNS unless they have already configured Dynamic DNS. I would suspect that the Linux boxes work becase there is a DNS entry for them. For your computer to be called on the LAN by the name you wish, instead of the default of the DHCP name, you will have to contact who ever is in charge of your DNS and have them create an entry for your computer name/IP address combination.
As an aside note the Linux boxes may be running Samba and when the reboot, they may announce themselves to a WINS server. And your DNS server may query WINS to get the IP adress. But that has no bearing on your question.
If it has wheels or a skirt, you can't afford it.