The issue I am facing:
I have set up pihole on my VPS and would like to use it as my Private DNS on Android, so that all my DNS queries would go to my VPS server. I opened port 853 on my VPS and configured my nginx to redirect it to 53, so I have the following:
incoming DNS request to port 853 -> pi-hole on port 53 -> unbound on port 5335.
This has been working for years with no problems and yesterday it suddenly stopped working. Here is what I checked:
-
Check whether the new update messed it up - no, check older versions of pi-hole = same issue
-
Checked whether phone's updates messed it up - no, tried it on 3 different phones = same issue
-
Checked router - did not find anything unusual
-
Provider is not blocking port 853
-
Domain name is ok, valid. I can access pi-hole admin panel via any web browser.
-
Same happens on both wifi (tried on different routers) and mobile network
Any public resolvers like 1.1.1.1 or Adguard work fine without any issues but when I enter hostname of my DNS I always get couldn't connect error and Internet stops.
My ultimate goal is to have pi-hole blocking ads etc + resolving all domain names using my own server without relying on 1.1.1.1, Google, etc.
Any help would be highly appreciated.
Details about my system:
System is ubuntu 20 / Debian 10
What I have changed since installing Pi-hole:
I have only updated pi-hole to the latest version yesterday.