Operating System - HP-UX
1832285 Members
3136 Online
110041 Solutions
New Discussion

Including my hostname by DHCP request

 
Filipe Matos
Occasional Advisor

Including my hostname by DHCP request

Hi (again),
how can i include my hostname has present in "/etc/rc.config.d/netconf HOSTNAME" in the
DHCP request? On the client machine the
hostname is set but the dhcpserver (NT4.0)
only reads the LAN-ID.
This way i am having problems with Dynamic DNS
and name resolution.

Thanks again

Matos
5 REPLIES 5
Berlene Herren
Honored Contributor

Re: Including my hostname by DHCP request

Try adding '-N hostname' to dhcpclient


Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Filipe Matos
Occasional Advisor

Re: Including my hostname by DHCP request

Hi,

thank you for the try.
It did not work:

htr02# dhcpclient -N htr02 -b lan0

usage:
./dhcpclient -b interface [-f tracefile] [-l debug_level] [-n][-p] [-t log_type] [-x send_attempts] [-z time_to_wait]
./dhcpclient -d interface
./dhcpclient -m interface [-f tracefile] [-l debug_level] [-p] [-t log_type] [-z time_to_wait]
./dhcpclient -r interface [-f tracefile] [-l debug_level] [-p] [-t log_type]
./dhcpclient -v



Matos
Mike McKinlay
Honored Contributor

Re: Including my hostname by DHCP request

A closer reading of your post clues me into a different part of your question. Are you attempting to automatically update a Dynamic DNS (Win2K or other OS) for an NT4 client system? NT4 does not support the DDNS spec ...

Dynamic DNS
Windows 2000 contains an implementation of Dynamic DNS that follows RFC 2136. Dynamic DNS allows clients and servers to register domain names and IP address mappings. This frees administrators from the time-consuming process of manually updating DNS entries. Note that you can use Windows NT without Dynamic DNS, but the network administrator's workload will increase significantly, because of the work involved in manually updating DNS information.

The NETLOGON service on the Windows NT domain controller uses Dynamic DNS to maintain all of the DNS entries used to access the Active Directory. Client network services register DNS address records when they boot.

....

NT4 combined WINS and DNS to provide a similar functionality through DHCP. However, that methodology is not how Win2K handles things. Is this an NT4 system participating in a Win2K active directory?

See http://www.microsoft.com/TechNet/deploy/nt4tont5.asp for more information.
"Hope springs eternal."
Filipe Matos
Occasional Advisor

Re: Including my hostname by DHCP request

Hi,
you are right: NT4.0 does not support DDNS, or at least the Microsoft products do not.
We are using the "Commander Suite" from Incognito Software that is DNS commander and IP commander (DHCP), which can perfectly interoperate.

Everything would be working fine if i succeed to send the hostname from the HP-UX boxes :(

Matos
Will Couillard
Occasional Advisor

Re: Including my hostname by DHCP request

Your post did not specify which version of HP-UX you are using. We are running HP-UX 11.0 and there are two patches required to provide the client hostname to the DHCP server. Site specific patches PHCO_24114 set_parms and PHNE_23524 bootpd(1M)/DHCP cumulative. This has also allowed us to make use of DynamicDNS on our DNS server. Our Dynamic DNS software is a Cisco product.