I have a domain setup to point to my LAN's external IP using dynamic DNS, because my external IP address changes frequently. However, I want to create an alias to this host, so I can access it with home. So I appended the following to my /etc/hosts:

domain.com home

However, it doesn’t seem to like the domain name. If I change it to an IP:

0.0.0.0 home

… then it works, but of course this defeats the purpose of dynamic DNS!