Pi.hole can't be found, but yesterday it could. Custom DNS entries don't work either

Expected Behaviour:

When entering pi.hole/admin or pi.hole in any browser, the Web UI should come up. Furthermore, I should be able to enter customdomain.com and it should redirect the request to my local machine running my service, because I set customdomain.com to redirect to 192.168.1.147, where my service is hosted. I am using this to avoid a hairpin request, which my router can't handle and would otherwise hang.

My pi.hole is hosted on 192.168.1.165 on a raspberry pi 3 running raspbian. I have a server running on 192.168.1.147, forwarded to the public. I have a windows PC which I am using to send the requests.

Alternatively, I can enter 192.168.1.165/admin on the browser and it should open the Web UI.

Actual Behaviour:

I enter pi.hole on the URL and get a Server not found error. I enter customdomain.com and it hangs (as if it was requesting it from an outside DNS).

Entering 192.168.1.165 (or .../admin) works and lets me log into the webUI.

nslookup pi.hole returns server can't find pi.hole: NXDOMAIN.
nslookup pi.hole 192.168.1.165 returns
image

So correct.

curl -i http://pi.hole/admin/api.php returns Could not resolve host: pi.hole

I have (from the CLI):

  • Flushed arp (network) tables
  • restarted the DNS server

nslookup flurry.com returns a ton of addresses it found with 8.8.8.8
image

Please help me. Pihole has worked flawlessly for a week and a half :frowning:

Debug Token:

https://tricorder.pi-hole.net/iXeY66nI/

I am an idiot. I changed my machine's IP to be static, and accidentaly gave it the wrong manual DNS. I checked on another machine and requests were being forwarded correctly.

Dumb mistake. Closing.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.