Skip to content

Instantly share code, notes, and snippets.

@Mika-
Created July 19, 2016 14:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mika-/b31a3791771fdedbc59deb572eb76be4 to your computer and use it in GitHub Desktop.
Save Mika-/b31a3791771fdedbc59deb572eb76be4 to your computer and use it in GitHub Desktop.
curl -s "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&showintro=0&mimetype=plaintext" | sed "s/127\.0\.0\.1/0.0.0.0/" > /etc/dnsmasq.d/dnsmasq.adlist.conf
/etc/init.d/dnsmasq force-reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment