[Dnsmasq-discuss] not giving name because the name exists..

B. Cook bcook at poughkeepsieschools.org
Wed Jun 17 20:21:59 BST 2015


2.72 on CentOS 6.x latest..

not giving name hp6-216.phs.pcsd to the DHCP lease of 10.20.13.116 because
the name exists in /etc/dnsmasq.d/hosts with address 10.20.15.234

This is the literal error..

I have printers in the 10.20.15/20 subnet for that building.. I have them
listed in the hosts file (addn-hosts=/etc/dnsmasq.d/hosts) for NMS..

What makes that error appear and disappear?

Jun 15 21:59:10 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 15 23:49:24 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 16 01:37:56 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 16 03:24:07 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 16 05:09:47 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 16 06:56:17 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 16 08:41:43 dnsmasq-dhcp[1243]: DHCPACK(eth0) 10.20.15.234
00:01:e6:a7:f3:a1 hp6-216
Jun 16 12:40:56 dnsmasq-dhcp[3476]: DHCPACK(eth0) 10.20.13.116
00:01:e6:a7:f3:a1 hp6-216
Jun 16 12:40:56 dnsmasq-dhcp[3476]: not giving name hp6-216.phs.pcsd to the
DHCP lease of 10.20.13.116 because the name exists in /etc/dnsmasq.d/hosts
with address 10.20.15.234
Jun 16 12:41:01 dnsmasq-dhcp[3476]: not giving name hp6-216.phs.pcsd to the
DHCP lease of 10.20.13.116 because the name exists in /etc/dnsmasq.d/hosts
with address 10.20.15.234
Jun 16 12:41:03 dnsmasq-dhcp[3476]: not giving name hp6-216.phs.pcsd to the
DHCP lease of 10.20.13.116 because the name exists in /etc/dnsmasq.d/hosts
with address 10.20.15.234


I'm also not sure why it thinks its IP should have changed..

 grep hp6-216 /var/lib/misc/dnsmasq.leases
1434579174 00:01:e6:a7:f3:a1 10.20.13.116 hp6-216 *

And this is its dnsmasq entry:

dhcp-host=00:01:e6:a7:f3:a1,10.20.15.234,hp6-216 #net:phs # phs216_hp6mp

I would greatly appreciate any insight..

-- 

This message may contain confidential information and is intended only for 
the individual(s) named. If you are not an intended recipient you are not 
authorized to disseminate, distribute or copy this e-mail. Please notify 
the sender immediately if you have received this e-mail by mistake and 
delete this e-mail from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150617/857386c2/attachment.html>


More information about the Dnsmasq-discuss mailing list