DNS domain which resolves names to local IP addresses [closed]
Is there a domain name which resolves something like "domain192-168-1-128" to the IP 192.168.1.128 ?
I am trying to test a site on my local network which uses "subdomains" (e.g. portal-admin.localhost) from a mobile device. E.g.
- Machine "Server" hosts the web site "portal-admin.localhost"
- Machine "Server" is with IP 192.168.1.128
- I don't want to have to setup a DNS server on my LAN nor change '/etc/hosts' file
What I want is an external domain which provides this resolution service.
Thanks for any help.
Yes, there is a service like that: http://freedns.afraid.org/
You can login there and have free subdomains you can use for testing.
For example, right now i have "web.leet.la" pointing to "192.168.1.1".
And just for you there is "ts.leet.la" pointing to "192.168.1.128".
Feel free to do a DNS-lookup on it and use it as you need.
And if this is not what you're asking/looking for then the answer is No. An external service that literally maps 'portal-admin.localhost' or 'domain192-168-1-128' to '192.168.1.128' does not exist :-)
Actually there is Xip.io which does exactly what you asked for: http://xip.io/
For example 192.168.1.128.xip.io resolves to 192.168.1.128.
EDIT 2021-07-01
As xip.io seems to not be available anymore, I have looked for alternatives and found https://nip.io/