Reverse lookups fail for static DHCP leases with unbound.
-
I have unbound with ISC DHCP and register static leases in DNS. Normal lookups work correctly, but reverse lookups don't. With the DNS forwarder in place of unbound reverse lookups work as expected.
Am I missing something simple somewhere?
-
@Zotan So you reserve say host.home.arpa for IP 192.168.1.100 as just an example..
And your saying you can lookup host.home.arpa and it returns 192.168.1.100, but when you do a ptr for 192.168.1.100 it returns what - NX? servfail?
Here I just created a test reservation, and not seeing any issues. It makes no sense that the forward would work and not the reverse..
-
I didn't give the full details. I have 3 pfsense instances in the network, with different domains. I use DNS forwarding between the instances to resolve the internal domains. A reverse lookup against the local domain works, it doesn't work when forwarded.
-
@Zotan well if your going to forward for the reverse you would to setup the in-addr.arpa zone to be forwarded.
lets say you have zone1.home.arpa and zone2.home.arpa and zone3.home.arpa
and lets say 192.168.1/24 is zone1, and zone2 is using 192.168.2/24 and zone3 is 192.168.3/24
Create your forward for 2.168.192.in-addr.arpa to point to your pfsense for that zone, and then do 3.168.192.in-addr.arpa for zone3
So for example I setup NS on my nas dns.. for both the forward zone testlocal.home.arpa and the reverse zone 0.168.192.in-addr.arpa created some records in it.. And setup some domain overrides to forward to my nas at 192.168.9.10