The issue I am facing:
My AtomicPi was unplugged and after re-plugging it in, I have not been able to reconnect to the internet with pi-hole's DNS. I also cannot access the web interface when modifying my Mac's DNS to Pi-Hole's IP either.
Details about my system:
I am using an Atomic Pi, the micro sd card may have popped out but it is back in and restarted properly anyways. Running Ubuntu 18.04.4 LTS on it and everything is up-to-date as well.
What I have changed since installing Pi-hole:
I tried changing the resolv.conf's nameserver to 127.0.0.1 which did nothing, then changed it back to 9.9.9.9 or 8.8.8.8. The pi itself has internet access.
I also re-installed pi-hole completely but still no internet for my devices.
Your debug log appears normal, but it doesn't show if Pi-hole is receiving queries from network clients.
What is the output of this command from the Pi terminal - this will show activity for the previus 24 hours, and may not be a true indicator if the Pi was disconnected within that time period:
echo ">stats >quit" | nc localhost 4711
From a client that you believe should be connected to the Pi-Hole for DNS, from the command prompt or terminal on that client (and not via ssh or Putty to the Pi), what is the output of
It appears normal because I unplugged it, then realized it was no longer allowing the connected devices to have internet. I ended up uninstalling it, then reinstalling pi-hole again removing previous logs...
I'll place that into the original post so it's clearer.
--
For echo ">stats >quit" | nc localhost 4711, I got:
As for the nslookup for pi.hole the return from my terminal on my mac when connected to the Pi-Hole's DNS is the following: ;; connection timed out; no servers could be reached
Whenever I test Pi-Hole's DNS I automatically change the server to 192.168.1.209 on the Mac's Network Preferences directly so I am not disrupting other users on my home network.
From my Mac terminal for scutil --dns:
resolver #1
nameserver[0] : 192.168.1.209
flags : Request A records
reach : 0x00020002 (Reachable,Directly Reachable Address)
resolver #2
domain : local
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300000
resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300200
resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300400
resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300600
resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300800
resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 301000
DNS configuration (for scoped queries)
resolver #1
nameserver[0] : 192.168.1.209
if_index : 5 (en0)
flags : Scoped, Request A records
reach : 0x00020002 (Reachable,Directly Reachable Address)
The output of nslookup pi.hole 192.168.1.209:
;; connection timed out; no servers could be reached
You are right, there are no ufw -- I've set it up to have port 53 and 80 open. I am able to access the web interface and query the blocks as I browse through ssh too.