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?
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 192.168.1.0/24 and 192.168.2.0/24. 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.
nslookup pfsense.localdomain2 answers 192.168.2.1
nslookup 192.168.2.1 answers
** server can't find 22.214.171.124.in-addr.arpa: 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.