DHCLIENT.CONF System variables.
Posted
by Dr I
on Server Fault
See other posts from Server Fault
or by Dr I
Published on 2010-03-25T09:44:57Z
Indexed on
2010/03/25
9:53 UTC
Read the original article
Hit count: 554
Hello, I've just a little question.
My DNS Servers are updated by our DHCP Server (Microsoft Windows 2003 R2 SP2).
My clients are Debian Linux Distro's, and I have to modify my DHCLIENT.CONF file on it to send his Full Qualified Hostname.
BUT I've about 1600 computers and I don't want to modify each client one by one, then, Could I for exemple use a System Variable on the Config file?
Exemple:
#DHCLIENT CONF;
where $hostname variable is the alias write on BASHRC for the hostname -f command.
send "$hostname"
If you need any more informations just tell me.
© Server Fault or respective owner