Dear all I have been trying to resolve that issue for the past 2 days.
I am using dnsmasq for dns and dhcp, and using the hosts file to statically assigned ip to known hosts. It doesn't work with the following error message: "not giving name myhost.example.com to the DHCP lease of 192.168.0.121 because the name exists in /etc/hosts with address 192.168.0.7" I have cleared the leases file. If I had the host in the conf file, it works: "dhcp-host=myhost,192.168.0.7" /etc/dnsmasq.conf #*************************************************** listen-address=127.0.0.1 listen-address=192.168.0.1 server=127.0.0.1 #dnsmasq server=208.67.222.222 #OpenDNS server=208.67.220.220 #OpenDNS interface=eno2 port=53 bind-interfaces dhcp-authoritative domain=example.com local=/example.com/ dhcp-option=eno2,3,192.168.0.1 # gateway dhcp-option=eno2,6,192.168.0.1 # DNS dhcp-range=eno2,192.168.0.100,192.168.0.254,24h # DHCP domain-needed expand-hosts no-poll no-resolv bogus-priv #*************************************************** /etc/hosts #*************************************************** 192.168.0.7 myhost #*************************************************** Thanks _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss