Operating System - HP-UX
1819870 Members
2352 Online
109607 Solutions
New Discussion юеВ

set my own hostname while using DHCP client

 
Tal Drigov
Advisor

set my own hostname while using DHCP client

Hi,

Is it possible to maintain the original hostname while using DHCP client ?

Tal.
7 REPLIES 7
Rajeev  Shukla
Honored Contributor

Re: set my own hostname while using DHCP client

Ya definately..
Tal Drigov
Advisor

Re: set my own hostname while using DHCP client

:-).. how ?
Rajeev  Shukla
Honored Contributor

Re: set my own hostname while using DHCP client

Specify the hostname in DNS and reserve this IP address for this host only.
I am not sure but i guess this should work.

T G Manikandan
Honored Contributor

Re: set my own hostname while using DHCP client

Tal Drigov
Advisor

Re: set my own hostname while using DHCP client

I'll try that.

thanks.
Brian Kinney
Frequent Advisor

Re: set my own hostname while using DHCP client

Yes it is possible, but it depends upon your DHCP server, not your client. If your DHCP server properly supports Dynamic DNS updating, then it should be a no-op for your client.

The DHCP server will assign you an address, update DNS to associate with your hostname (as long as it doesn't match another host already in DNS - big security problem otherwise.)

The "MS" DHCP server can do this, and others as well. It's all in the configuration between the DHCP server and the DNS servers.

"Any sufficiently advanced technology can be indistinguishable from magic" Arthur C. Clarke. My corollary - "Any advanced technology can be crushed with a sufficently large enough rock."
A. Clay Stephenson
Acclaimed Contributor

Re: set my own hostname while using DHCP client

If you are going to do this using an HP-UX bootp server and an HP-UX DNS server then you will need to download and compile DHCP and BIND (DNS) from http://www.isc.org. These are the guys who invented the stuff and their dynamic DNS is the best there is. You replace the HP commands with their ISC counterparts and you are in business.
If it ain't broke, I can fix that.