Mozilla doesn't ever look at the hosts file. What happens is that mozilla performs a DNS lookup for a given hostname, and the system checks /etc/hosts, then the DNS server. When using a proxy, the only DNS lookup performed is that of the proxy (as that is what Mozilla is connecting to). The proxy could look at ITS /etc/hosts file, but I doubt you have access to that.