20 Local Domain Name Pihole Update

If all this domain name stuff confuses you you can leave it out and live a domain less life on your lan.
Local domain name pihole. I use static reservations from the usg. Finally restart your name server. 192 168 1 2 mypc local 192 168 1 5 myapp local 192 168 1 5 8080 otherapp local that way the myapp local example works perfectly.
Set domain name to something. Is it possible to make this work. If you ve got any suggestions i ll be happy to try anything.
I use a unifi controller and usg. Well i ve been looking around and it seems like i need a reverse proxy to do this. Pi hole resolves it s hostname with local domain to it s ip address.
Pi hole forwards it s hostname upstream when queried with local domain. My ubiquiti usg adds the local suffix for my domain. I am using ubuntu 18 04 on my laptop and have tried adding my domain suffix which i shouldn t need before the pihole the usg appended the suffix automatically to any dhcp clients.
While you certainly can serve any name also of hosts outside of your lan you probably can t outsmart netflix to play shows from outside your geographical. Query for pi hole hostname lan and see the response come from upstream. Continue browsing in r pihole r pihole the pi hole is a dns sinkhole that protects your devices from unwanted content please read the rules before posting thanks.
The lan network has the domain name set as lan. Pi hole uses dnsmasq technically a fork but the functionality we care about is identical which means that it s only a dns forwarder it will resolve host names for dhcp addresses it gives out but any other result is forwarded. I m a big fan of privacy and encourage you to use whatever secure dns method you like either dns over https doh or dns over tls dot.