rpdom wrote: ↑Tue Apr 21, 2020 6:50 am
Yes, this is a good workaround. I actually do that. I have DNSMasq on a Pi at home handling all my internal DHCP and DNS. It has a host entry for home.mydomain.com as 192.168.42.30, but externally the DNS for home.mydomain.com resolves as the external IP of my router.
I actually rarely use that now as I have a personal VPN running on some external servers and I can use that to connect to my home network from anywhere and get a working 192.168.42.x address with full access to all my systems.
I do this also, but it's a feature, not a workaround
Having a DHCP and DNS server on a computer such as an RPi (as opposed to a router) makes it super-easy to change routers without perturbing the network. It also has a much more approachable interface (command line rather a web page jungle), and I can quickly and easily replace a dead RPi DHCP/DNS server, whereas having to replace a dead or dying router can be pretty distressing on anything other than the simplest home network.