Hi,
On Mon, Jun 29, 2009 at 04:00, Niki Kovacscontact@kikinovak.net wrote:
host raymonde { hardware ethernet 00:20:ed:b8:e8:ec; fixed-address 192.168.1.2; option host-name "raymonde"; }
[...]
lease { option host-name "raymonde"; option domain-name "local"; } Here's what 'hostname' returns: # hostname raymonde But when I go for the domain name, I get this: # hostname -d hostname: Hôte inconnu --> means 'Unknown host' in french :o) Any idea what I'm doing wrong here?
I guess you have to use this in dhcpd.conf:
option host-name "raymonde.local";
At least, in my dhclient-eth0.leases file I have option host-name with the fully qualified host name...
I am getting host names from DNS with "get-lease-hostnames on;" in dhcpd.conf, so I think it does what I expect (sending FQDNs) in that case...
HTH, Filipe