Skip to content

Instantly share code, notes, and snippets.

@tyr0chen
Created February 20, 2015 12:56
Show Gist options
  • Save tyr0chen/d173ab782e8c637d1743 to your computer and use it in GitHub Desktop.
Save tyr0chen/d173ab782e8c637d1743 to your computer and use it in GitHub Desktop.
dnsmasq configuration for gfw,support google,facebook,twitter and youtube.
#Google and Youtube
server=/.google.com/127.0.0.1#5300
server=/.google.com.hk/127.0.0.1#5300
server=/.gstatic.com/127.0.0.1#5300
server=/.ggpht.com/127.0.0.1#5300
server=/.googleusercontent.com/127.0.0.1#5300
server=/.appspot.com/127.0.0.1#5300
server=/.googlecode.com/127.0.0.1#5300
server=/.googleapis.com/127.0.0.1#5300
server=/.gmail.com/127.0.0.1#5300
server=/.google-analytics.com/127.0.0.1#5300
server=/.youtube.com/127.0.0.1#5300
server=/.googlevideo.com/127.0.0.1#5300
server=/.youtube-nocookie.com/127.0.0.1#5300
server=/.ytimg.com/127.0.0.1#5300
server=/.blogspot.com/127.0.0.1#5300
server=/.blogger.com/127.0.0.1#5300
#FaceBook
server=/.facebook.com/127.0.0.1#5300
server=/.thefacebook.com/127.0.0.1#5300
server=/.facebook.net/127.0.0.1#5300
server=/.fbcdn.net/127.0.0.1#5300
server=/.akamaihd.net/127.0.0.1#5300
#Twitter
server=/.twitter.com/127.0.0.1#5300
server=/.t.co/127.0.0.1#5300
server=/.bitly.com/127.0.0.1#5300
server=/.twimg.com/127.0.0.1#5300
server=/.tinypic.com/127.0.0.1#5300
server=/.yfrog.com/127.0.0.1#5300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment