[Dnsmasq-discuss] Reverse lookups not working in authoritative mode

Albert ARIBAUD albert.aribaud at free.fr
Wed Mar 12 07:55:26 UTC 2014


Hi Franco,

Le 12/03/2014 04:39, Franco Broi a écrit :
> Hi
>
> I just configured my dnsmasq server to be authoritative but now reverse
> lookups don't work. With debug turned on I can see that the address is
> resolved and with strace I can even see the resolved hostname being sent
> in sendmsg but the machine doing the query says  not found: 3(NXDOMAIN).
> If I remove the auth-server option it works as expected.
>
> My configuration is minimal:
>
> domain=aus.abc.com
> auth-server=perth1.aus.abc.com,eth0
> auth-zone=aus.abc.com,10.150.32.0/20
>
> [franco at tc1 ~]$ host 10.150.35.105 perth1
> Using domain server:
> Name: perth1
> Address: 10.150.35.111#53
> Aliases:
>
> Host 105.35.150.10.in-addr.arpa. not found: 3(NXDOMAIN)

Rather than 'host', try using 'dig' and see what server answered the 
request (comment at the end of the dig output). Either it is perth1, and 
you will have to investigate further, or it is e.g. a local DNS on 
franco, which forwards to perth1 (and does something weird regarding 
aythoritative answers) and you'll have to investigate that other NS.

> [root at perth1 src]# dnsmasq -d -q
> dnsmasq: started, version 2.68 cachesize 150
> dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
> dnsmasq: warning: no upstream servers configured
> dnsmasq: read /share/system/etc/hosts - 282 addresses
> dnsmasq: auth[PTR] 105.35.150.10.in-addr.arpa from 10.150.35.201
> dnsmasq: /share/system/etc/hosts 10.150.35.105 is mds1.aus.abc.com
>
> Cheers,

Amicalement,
-- 
Albert.



More information about the Dnsmasq-discuss mailing list