I got tired of manually inserting lines into my
/etc/hosts file and decided to look for other solutions. The DD-WRT router has a DNSMAsq feature in which I list domains that are supposed to be internal domains to be resolved to its local IP. I still have to insert lines but now it's more organized and better than seeing mumbo jumbo in your hosts file.
Here are my steps: