InEnduringGrowStrong@sh.itjust.works 1 week ago
All good answers so far.
Basically your internet gateway doesn’t support what’s called NAT hairpin, also called NAT loopback.
The DNS solution is better anyway, and that particular setup is called split-horizon DNS, which basically just means your internal DNS requests get different results than ones from outside your network.
cyberpunk007@lemmy.ca 1 week ago
And to solve this problem, if you host your own internal DNS also you can just add entries there. Pihole is a nice cheap option and runs on a raspberry pi.
thisisnotausername@lemmy.dbzer0.com 6 days ago
I belive pihole can’t do split horizont. For that I use technitium.
I was never able to solve that problem running pihole
cyberpunk007@lemmy.ca 6 days ago
If you’re outside your network you just hit public DNS. If you’re inside, make your domain your suffix inside your dhcp configuration and pihole and manually configure your IPs in there. Should work just fine
cyberpunk007@lemmy.ca 1 week ago
Yup, sucks if you have more than one device though 💀
abcdqfr@lemmy.world 1 week ago
You can also busy edit local records on the devices you intend to access the service from. Flakier, but requires no extra hardware/services