[Dnsmasq-discuss] not answerig queries for top-level domains

Marcus Better marcus at better.se
Tue Dec 19 18:35:59 GMT 2006


Hi,

I have a strange problem with dnsmasq 2.33 running on OpenWRT White-russian.
Normal resolution seems to work, but when a client does an NS query for a
TLD, such as .se or .ch, it returns NXDOMAIN:

Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: started, version 2.33
cachesize 150
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: compile time options: IPv6
GNU-getopt ISC-leasefile no-DBus no-I18N
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: DHCP, IP range
172.16.10.32 -- 172.16.10.127, lease time 1h
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
172.16.10.2#53
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
81.216.65.12#53
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
81.216.65.11#53
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
172.16.10.2#53 for domain 102.168.192.in-addr.arpa
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
172.16.10.2#53 for domain 100.168.192.in-addr.arpa
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
172.16.10.2#53 for domain 10.16.172.in-addr.arpa
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
172.16.10.2#53 for domain example.com
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: using nameserver
172.16.10.2#53 for domain example2.se
Dec 19 19:24:16 (none) kern.info dnsmasq[3269]: read /etc/hosts - 2
addresses

...

Dec 19 19:26:26 (none) kern.debug dnsmasq[3275]: query[NS] abc.se from
172.16.10.4
Dec 19 19:26:26 (none) kern.debug dnsmasq[3275]: forwarded abc.se to
81.216.65.11
Dec 19 19:26:26 (none) kern.debug dnsmasq[3275]: forwarded abc.se to
81.216.65.12
Dec 19 19:26:26 (none) kern.debug dnsmasq[3275]: forwarded abc.se to
172.16.10.2
Dec 19 19:26:35 (none) kern.debug dnsmasq[3275]: query[NS] se from
172.16.10.4
Dec 19 19:26:35 (none) kern.debug dnsmasq[3275]: config se is <NXDOMAIN>
Dec 19 19:26:53 (none) kern.debug dnsmasq[3275]: query[NS] se from
172.16.10.4
Dec 19 19:26:53 (none) kern.debug dnsmasq[3275]: config se is <NXDOMAIN>

Dec 19 19:34:29 (none) kern.debug dnsmasq[3275]: query[NS] com from
172.16.10.4
Dec 19 19:34:29 (none) kern.debug dnsmasq[3275]: config com is <NXDOMAIN>
Dec 19 19:34:59 (none) kern.debug dnsmasq[3275]: query[NS] nytimes.com from
172.16.10.4
Dec 19 19:34:59 (none) kern.debug dnsmasq[3275]: forwarded nytimes.com to
172.16.10.2


Note that the query for abc.se works, and everything else under .se seems to
work too. The same goes for .com.

Here are relevant parts of dnsmasq.conf:
----------------------------------------------
log-queries
domain-needed
no-resolv
domain=int.example.com

server=/example2.se/172.16.10.2
server=/example.com/172.16.10.2
server=/10.16.172.in-addr.arpa/172.16.10.2
server=/100.168.192.in-addr.arpa/172.16.10.2
server=/102.168.192.in-addr.arpa/172.16.10.2
server=81.216.65.11
server=81.216.65.12
server=172.16.10.2

dhcp-leasefile=/tmp/dhcp.leases
dhcp-authoritative
dhcp-range=lan,172.16.10.32,172.16.10.127
--------------------------------------------

Thanks,

Marcus





More information about the Dnsmasq-discuss mailing list