<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#181818" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>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.</p>
<p>This is the box that actually runs the dhcp daemon for my network
and this host has 2 network interfaces:<br>
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br>
inet 192.168.1.2 netmask 255.255.255.0 broadcast
192.168.1.255</p>
<p>with a fixed IP address,</p>
<p>and</p>
<p>wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu
1500<br>
inet 192.168.1.171 netmask 255.255.255.0 broadcast
192.168.1.255<br>
</p>
<p>that I want to grab the IP address via DHCP.</p>
<p><br>
</p>
<p>The /etc.hosts contains:</p>
<p>127.0.0.1 localhost myhost</p>
<p>How do I configure my dnsmasq.conf to solve this?</p>
<p>Any help is appreciated.<br>
</p>
<p>Thank you.<br>
</p>
<p><br>
</p>
</body>
</html>