Reverse lookup for unbound conditional forwarder?

  • I have 2 pfsense routed with a conditional forwarder in unbound to each domain but reverse lookup only works for the local domain. How done?

  • LAYER 8 Global Moderator

    yeah going to need a bit more detail.. And example of what your doing and what is not working would be very helpful in helping you.

  • Thank you for your help with my setup of reverse lookup for unbound conditional forwarder.

    I have 2 pfsense running with traditional lan wan opt1 interface, unbound. and dhcpd. They are subnet and Domain names are localdomain1 and localdomain2. Opt1 is a gateway with default route to the other pfsense's lan address. On localdomain1, hosts can resolve by name and ip for localdomain1.

    localdomain1 unbound has domain override for localdomain2. Hosts on localdomain1 can resolve localdomain2 hosts by name but not by ip.

    On localdomain1,
    nslookup pfsense.localdomain2 answers
    nslookup answers

    ** server can't find NXDOMAIN

  • You need to also put a domain override for the reverse-lookup names:

    to point to the internal DNS server that knows the reverse-lookup zone.

  • That's the ticket. Reverse lookup works now.