Conditional Forwarding not working

Please follow the below template, it will help us to help you!

Expected Behaviour:

Display the hostnames of computers

Actual Behaviour:

Just getting ip’s in place of hostnames.

Debug Token:

so i have a TP-link Archer c7 v5 router and i was having this problem and decided to just take the leap and flash it with openwrt. This should have resolved it. despite reverse lookups working just fine from the command line to both the router and the pihole. i’m a little confused as to where to look.

root@pihole1:/etc/pihole# nslookup -x name = shark.lan.

root@pihole1:/etc/pihole# nslookup -x name = shark.lan.

And below ?

nslookup -type=ptr

Make sure nameserver points to where pihole-FTL is listening:

pi@noads:~ $ cat /etc/resolv.conf

ok well the local resolver was set to google, i have reset it to localhost now.
but shouldn’t this setting be overridder by the ip address in the dns settings for conditional forwarding?

root@pihole1:~# nslookup -type=ptr

** server can't find NXDOMAIN

root@pihole1:~# nano /etc/resolv.conf
root@pihole1:~# nslookup -type=ptr
Address:        name = shark.lan.

ok that was resolved after i restarted pihole-FTL. that’s still an odd bug. thank you very much for the help!

1 Like

dhcpcd5 should populate resolv.conf through resolvconf:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.