I configued my router to work with dyndns. Instead of using the dyndns hostname created by dyndns.org, I want to define my own host name, that in tern, refers to that dyndns hostname.
For example, lets say my dyndns hostname is fanix.dyndns.org, when I ping that address, it resolves to my ADSL router IP address, which is correct.
On my mac, I wish to use a shorter name, for instance, xNas, so that when I issue command "ping xNas", it uses the etc/hosts file and pings the dyndns hostname. But this isn;'t working. I added the following in /private/etc/hosts
When I ping xNas, it returns
ping: cannot resolve xnas: Unknown host
How do I get this to work?
NOTE: I do not have a static IP address, I have ADSL, so my IP address changes.