Maintained by: NLnet Labs

[Unbound-users] NXDOMAIN when trying to resolve IP addresses in a recursive caching setup

Quanah Gibson-Mount
Wed Jul 2 00:17:50 CEST 2014


I have set up unbound as a recursive caching DNS server, however when I go 
to use it resolve an IP address, I get NXDOMAIN:

[build at zre-ldap003 ~]$ host zre-ldap003.eng.zimbra.com
zre-ldap003.eng.zimbra.com has address 10.137.242.53
[build at zre-ldap003 ~]$ host zre-ldap003.eng.zimbra.com 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

zre-ldap003.eng.zimbra.com has address 10.137.242.53
[build at zre-ldap003 ~]$ host 10.137.242.53 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

Host 53.242.137.10.in-addr.arpa. not found: 3(NXDOMAIN)



The config is quite simple:

[build at zre-ldap003 conf]$ more unbound.conf
## Simple recursive caching DNS
#
server:
        interface: 127.0.0.1
        verbosity: 1
        do-tcp: yes
        do-udp: yes
        tcp-upstream: no

forward-zone:
        name: "."
        forward-addr: 10.137.27.3
        forward-addr: 10.210.0.166


Upstreams work as desired:

[build at zre-ldap003 ~]$ host 10.137.242.53 10.137.27.3
Using domain server:
Name: 10.137.27.3
Address: 10.137.27.3#53
Aliases:

53.242.137.10.in-addr.arpa domain name pointer 53.243.137.10.eng.zimbra.com.

[build at zre-ldap003 ~]$ host 10.137.242.53 10.210.0.166
Using domain server:
Name: 10.210.0.166
Address: 10.210.0.166#53
Aliases:

53.242.137.10.in-addr.arpa domain name pointer 53.243.137.10.eng.zimbra.com.

Any pointers on what I'm missing for my configuration?

Thanks!

--Quanah



--

Quanah Gibson-Mount
Server Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration