The issue I am facing:
I am unable to use pihole from clients. Clients cannot access the internet.
Details about my system:
I am running on a Pi 3 that is also running Homebridge. So, I'm using nginx for my web server.
What I have changed since installing Pi-hole:
Initially, I installed pi-hole while my pi was wireless. Everything seemed to be working correctly. But, I wanted a wired connection. So, I took steps to change this.
- I plugged in the ethernet cable
- reserved the wired address in the router
- modified dhcpcd.conf to use eth0
- modified setupVars.conf to use eth0 and the new address
- ran pihole -up
- ran pihole arpflush
- restarted the pi
If my client is using the router's DNS, it can access the Pi-hole webpage where everything appears functional. But, if I set the client DNS to point to the pihole, I cannot access anything outside of my local network. I even see queries in the query logs where the pihole appears to be sending the requests upstream.
If I log onto my pi via ssh, I can ping and dig google.com.
resolv.conf shows my routers address. So, I tried changing that to 127.0.0.1, but that shut down internet access from the pi, so I put it back. I think it's bad practice to change resolv.conf by hand anyway.
I have run pihole -d several times and I'm not noticing any failures or fatal errors.
If I set my client DNS to point to the pi-hole, I cannot ping or dig anything successfully.
I've opened every db in sqlite3 and queried every table looking for any leftover from changing from wlan0 to eth0 or anything with my previous IP. I also grep'd /etc/pihole looking for anything that I might have missed. But, I couldn't find anything.
What troubleshooting steps can I do next to locate the problem? I'm a developer by trade (mostly PL-SQL). I am very comfortable on the command line. But, I'm not particularly strong with networking. I just get by in that area.