I'm trying to visit one of my domains pi.example.com which points to a tailscale IP address. The domain is not a .local domain like in this post, it's a .world TLD.
I expected the Pi Hole to return the A record that it receives from the upstream DNS
Actual Behaviour:
I get an error page saying access has been denied because the "domain was not found on any blocklists" which makes no sense
One thing that might be relevant is that the tailscale IP points to the raspberry pi that is hosting the Pi Hole. But I expect it to load the Pi Hole admin panel not an error page. Maybe it's not recognising the hostname and so it's ignoring the request?
I'm able to connect to a website hosted on a different port on my Pi using that domain name, so it's definitely an issue specifically with the server hosting the Pi Hole admin panel
Only http://pi.hole will automatically redirect to the admin page. If you use anything other than pi.hole then you'll need to go directly to http://<custom>/admin/.
This is a security feature to prevent someone external to your network being able to access the admin page.