Re: How to send DHCP hostname with NM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mogens Kjaer wrote:

> Neal Becker wrote:
> ...
>> Because
>> 
>> host <blah> fails for this machine, but works for lots of others.
>> 
>> I think it's like this:
> 
> I've never had any problems like this. If the machine gets an IP
> by DHCP, the server registers the hostname in DNS, independent of
> the client machine running NM or not. If the hostname is specified
> in DHCP_HOSTNAME.
> 
> Without access to the server's logfiles it would be difficult
> to find out what your problem is...
> 
> Unless you can sniff the DHCP packets, or make a local setup
> with your own DHCP server, not connected to the rest of the
> network.
> 
> Mogens
> 

I can say now for certain, that it will send the hostname iff you create 
/etc/dhclient-<iface>.conf with:
send host-name "<your hostname>";


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux