Can Pi-hole be setup so that it is not being used as a DNS resolver by localhost itself?
In other words, is it possible to not have Pi-hole take over DNS services for the machine it is running on and have DNS queries from localhost itself be sent to a different DNS server instead?
Or, can FTLDNS bet configured to ignore queries from localhost (and not put ‘nameserver 127.0.0.1’ in /etc/resolv.conf)?
I am asking because, in my case, running Pi-hole apparently interferes with Mono Apps running on the same machine
(and I could not get to the bottom of it, but it seems to be an issue with Mono itself, resulting in all Mono Apps unable to resolve hostnames - queries never even reach Pi-hole and do not show up in the logs - while the same hostnames are resolved just fine on the host itself).
Everything else seems to be working fine, so for some reason Mono does not seem to play along well with Pi-hole.
As a workaround, I’ve tried manually setting the DNS Servers to be used in /etc/network/interfaces and restarted, but as soon as Pi-hole runs it ‘takes over’; as soon as I stop pihole-FTL, the manually set DNS server are used (in in /etc/resolv.conf) and the Mono Apps do resolve hostnames again.
Starting Pi-hole up again and the Mono Apps fail.
Anyone got an idea how to prevent this as a workaround or maybe even solve the issue itself?
I figure I could install unbound to sit between Mono and Pi-hole, but wouldn’t I run into the same issues?