Skip to content

Instantly share code, notes, and snippets.

@vapniks
Created April 10, 2018 11:24
Show Gist options
  • Save vapniks/2fef05310f50b3ed735c7f7d1c631686 to your computer and use it in GitHub Desktop.
Save vapniks/2fef05310f50b3ed735c7f7d1c631686 to your computer and use it in GitHub Desktop.
# stubby - a local DNS Privacy stub resolver
#
# stubby acts as a local DNS Privacy stub resolver, using DNS-over-TLS.
# Stubby encrypts DNS queries sent from the local machine to a DNS Privacy resolver, increasing end user privacy.
#
description "stubby server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
umask 022
# dont print anything to console
console none
pre-start script
test -x /usr/local/bin/stubby || { stop; exit 0; }
end script
# start stubby in non-daemon mode (so no need for "expect" stanza)
exec /usr/local/bin/stubby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment