Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # Force DNS refresh often -- doesn't seem to have performance implications
  2. max-ttl=120
  3. auth-ttl=120
  4.  
  5. # Use Google DNS, typically very fast!
  6. server=8.8.8.8
  7. server=8.8.4.4
  8.  
  9. # log it all!
  10. log-queries
  11. log-facility=/var/log/dnsmasq.log
  12. log-async=10
  13.  
  14. # Prevent bad requests from leaving the lan
  15. domain-needed
  16. bogus-priv
  17.  
  18. # Block domains from advertisers by redirecting to a blackhole
  19. address=/ads.yahoo.com/127.0.0.1
  20. address=/amazon-adsystem.com/127.0.0.1
  21. address=/data.microsoft.com/127.0.0.1
  22. address=/googleadservices.com/127.0.0.1
  23. address=/googlesyndication.com/127.0.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement