The issue I am facing:
So I have unbound installed on my raspberry pi 4 b and pointed pihole to localhost:5335. I also have a couple of custom.conf entries in dnsmasq.d:
rev-server=192.168.10.0/24,192.168.50.1
rev-server=192.168.30.0/24,192.168.50.1
rev-server=192.168.40.0/24,192.168.50.1
rev-server=192.168.50.0/24,192.168.50.1
rev-server=192.168.55.0/24,192.168.50.1
server=/home.arpa/192.168.50.1
server=/synology.me/192.168.50.1
server=/ddns.net/192.168.50.1
Everything was working a few weeks but now the conditional forwarders for both synology.me and ddns.net (both public domains) are not working. The home.arpa conditional forwarder is working perfectly and that is obviously a local private domain.
So when I try resolving an A record in both those domains that exists on the 192.168.50.1 DNS server, it gives me an answer for the public A record. Basically, my goal is a split-brain DNS as you might've guessed but it's not working now. If I point pihole to 192.168.50.1, it works, so that just proves 192.168.50.1 does not have any problem in serving the local DNS record for the synology.me and ddns.net domains.
Any ideas?
Details about my system:
Pihole v5.2.4 installed on rpi 4 B Model V
What I have changed since installing Pi-hole:
Installed unbound