What I'm trying to achieve
I'm trying to make a domain name direct to the local IP address of a Raspberry Pi running Raspbian, primarily so I don't have to remember an IP address. (I know I can set a static IP to the Pi however I would prefer a domain name).
What I've tried
Initially, I found this tutorial. It works great, as long as you access
mydomain.local from a Mac or a Linux machine running avahi daemon. I'm aware it can be accessed from Windows by installing the Bonjour service, however I'm mainly going to be accessing the domain from Android so this isn't going to work.
Next, I decided to run a DNS server with
dnsmasq off the same Raspberry Pi by following this guide. I got it all setup and working, all that was left was to specify the DNS servers in my router configuration. Long story short, my router (EE) doesn't like using a different DNS than it uses by default and it doesn't work.
Pointing domain to local IP
I tried creating a free domain on no-ip.com and directing it to the desired local IP,
192.168.1.x. That didn't work (ERR_NAME_NOT_RESOLVED), so I tried the same thing on freedns.afraid.org and got the same result.
Is there anything else I can try?
- What else could I try?
- Is there a way to get mDNS working on Android?
Thanks for your time, any help is appreciated.