View Single Post
Old 11-10-2015, 12:18 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
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.

Last edited by eschwartz; 11-10-2015 at 12:20 AM.
eschwartz is offline   Reply With Quote