diff options
Diffstat (limited to 'dnscrypt-proxy.socket')
-rw-r--r-- | dnscrypt-proxy.socket | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dnscrypt-proxy.socket b/dnscrypt-proxy.socket new file mode 100644 index 000000000000..af3cebce111c --- /dev/null +++ b/dnscrypt-proxy.socket @@ -0,0 +1,16 @@ +[Unit] +Description=DNSCrypt-proxy socket +Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki +Before=nss-lookup.target +Wants=nss-lookup.target network-online.target + +[Socket] +ListenStream=127.0.0.1:53 +ListenDatagram=127.0.0.1:53 +ListenStream=[::1]:53 +ListenDatagram=[::1]:53 +NoDelay=true +DeferAcceptSec=1 + +[Install] +WantedBy=sockets.target |