<div dir="ltr"><div><div>I've got dnsmasq on my router (running tomato), doing DHCP and DNS. Lately, though, it's not resolving dynaic DHCP hostnames. It resolves hostnames for static DHCP assignments fine, and everything else seems to work fine, but it just forwards DHCP hostname DNS requests to the upstream server, which obviously then returns NXDOMAIN.</div>

<div><br></div><div>Running:</div><div><br></div><div>Dnsmasq version 2.58  Copyright (c) 2000-2011 Simon Kelley</div><div>Compile time options IPv6 GNU-getopt no-RTC no-DBus no-i18n DHCP TFTP no-conntrack no-IDN</div><div>

<br></div><div>I have a domain set in the conf file (vortex), with expand-hosts, stop-dns-rebind, rebind-localhost-ok, and dhcp-authoritative.</div><div><br></div><div>Here are two example leases from the leases file:</div>

<div><br></div><div>75790 00:0c:29:3f:5e:c0 192.168.0.156 BAF-VM7 01:00:0c:29:3f:5e:c0</div><div>75432 00:0c:29:0b:d8:f0 192.168.0.196 magnetosphere *</div><div><br></div><div>Neither of those hosts resolve. I've tried "BAF-VM7" "BAF-VM7." "BAF-VM7.vortex" and "magnetosphere" "magnetosphere." and "magnetosphere.vortex"</div>

<div><br></div><div>I've restarted dnsmasq, released/renewed the leases, etc. Occasionally after restarting or releasing/renewing the lease, it will resolve for a short while. Sometimes if I try to reverse DNS the IP, it will come back with the hostname, and then sometimes it will start resolving that hostname for a short while, but for the most part, it simply doesn't work. This used to work, with the same configuration, and it was only recently that I noticed issues with it.</div>

<div><br></div><div>If I run with log-queries and log-dhcp, I can see a machine getting a DHCP lease, and I can see the lookup requests coming in (and getting forwarded upstream). If I kill -USR1 it, the dynamic lease hostnames don't appear in the list, except for hosts where it randomly decides to work.</div>

<div><br></div><div>Tomato isn't maintained for my router anymore, so there aren't any new versions to update to. Any ideas on getting this working again?</div>
</div>
</div>