JSWolf's claim that Hosts is a Windows solution is
entirely erroneous.
Just take a look in /etc/hosts
Redefine google.com to point to 127.0.0.1 or something.
Rinse and repeat for troublesome subdomains.
Or run a more fully-featured solution like dnsmasq.
It is literally as simple as adding:
Code:
address=/.google.com/127.0.0.1
to your /etc/dnsmasq.conf
P.S. I don't believe Windows' implementation of Hosts would support wildcard subdomains either, so you'd still have to use an actual DNS server.