[Dnsmasq-discuss] not giving name myhost to the DHCP lease of 192.168.1.171 because the name exists in /etc/hosts with address 127.0.0

Bernd Prager bernd at prager.ws
Fri Feb 23 20:12:42 UTC 2024


Hi,

I am getting this annoying warning in my log files: "not giving name 
myhost to the DHCP lease of 192.168.1.171 because the name exists in 
/etc/hosts with address 127.0.0" from the dnsmaqs-daemon.

This is the box that actually runs the dhcp daemon for my network and 
this host has 2 network interfaces:
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255

with a fixed IP address,

and

wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.171  netmask 255.255.255.0  broadcast 192.168.1.255

that I want to grab the IP address via DHCP.


The /etc.hosts contains:

127.0.0.1       localhost myhost

How do I configure my dnsmasq.conf to solve this?

Any help is appreciated.

Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20240223/8a4311a4/attachment.htm>


More information about the Dnsmasq-discuss mailing list