Skip to content

Instantly share code, notes, and snippets.

@WhyNotHugo
Created January 5, 2013 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WhyNotHugo/4463536 to your computer and use it in GitHub Desktop.
Save WhyNotHugo/4463536 to your computer and use it in GitHub Desktop.
[Unit]
Description=A small DNS server that spoofs blacklisted addresses and forwards all other queries.
After=syslog.target
Wants=network.target
Before=network.target
[Service]
ExecStart=/usr/sbin/adsuck -D -c /var/adsuck -f /resolv.conf /hosts -r /filter
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment