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: 526

Filed under:
|
|
|

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;
send "$hostname"
where $hostname variable is the alias write on BASHRC for the hostname -f command.

If you need any more informations just tell me.

© Server Fault or respective owner

Related posts about linux

Related posts about dhcp