I running PiHole on ubuntu server 22.04.1 with static IP. Hardware Odroid N2 4GB SBC.I also have cloudflared installed. Custom DNS is set to 127.0.0.1#5053. When I preform a nslookup to pi-hole.net this is the output
nslookup pi-hole.net
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: pi-hole.net
Address: 3.18.136.52
That custom DNS has to accept DNS queries from your Pi-hole on the same machine.
Currently, it does not:
Whatever DNS resolver is listening on 127.0.0.1#5053, verify its configuration and allow it to accept incoming DNS queries from localhost processes (like Pi-hole).
I have changed the nameserver 1.1.1.1 in resolve.conf file. It still wont resolve DNS queries. What are the correct network server settings once pi hole is installed?
It is my understanding that the IP address of the pi-hole itself should be used as the DNS server as well -- yes, it uses itself, then the software then uses your choice of upstream DNS on the same computer / device that's running the pi-hole.
The gateway is fine, it should definitely go to the router.
No I wouldnt do that.
In the past, the Pi-hole installer would configure the host to use the local (loopback) IP and that caused allot of headaches.
This bc if the pihole-FTL daemon would break for some reason, an update, a tweak or change, all processes on the host wouldn't be able to resolve via DNS anymore making things harder to troubleshoot.
You wouldnt even be able to run the Pi-hole repair command pihole -r
From above, it appears a reverse lookup is working as your 192.168.1.88 IP is correctly identified as being pi.hole.
But I suspect you have troubles with the upstream configured DNS server(s) for Pi-hole when trying to resolve espn.com wich needs to be forwarded upstream.
What is/are your upstream configured DNS servers when run below?
And can you run nslookup against them successfully?
To speed things up, you could generate a new debug token for the mods/devs to have a look at this current changed setup.
The old one expired after I believe 48 hours.
I finally got the pi hole to resolve dns requests. It was a firewall issue on my end. Now the issue with the cloudflared service it will not start. The service status is stuck on "activating". Has any one experienced this issue? Followed this guide cloudflared (DoH) - Pi-hole documentation