Claudio Jeker wrote: > Because neither the host command nor firefox are using gethostbyname() and > friends. So both do not look at /etc/hosts on the other hand most other > apps like ping, telnet, ssh or nc are using gethostbyname() and therefor > read /etc/hosts.
A DNS cache like DNSmasq would work for everything. It allows you to assign specific IPs to individual hosts: http://thekelleys.org.uk/dnsmasq/doc.html -Lars