blob: 8467b6f29702c3b910b73c27d6b7ed8905f48e14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=DNSCrypt-proxy socket
Documentation=https://github.com/DNSCrypt/dnscrypt-proxy/wiki
[Socket]
## Listen on TCP socket.
ListenStream=127.0.0.1:53
## Listen on UDP socket.
ListenDatagram=127.0.0.1:53
## Below options are valid only for TCP socket.
## Applying them to UDP socket will result in warnings:
## TCP_NODELAY failed: Protocol not available
## TCP_DEFER_ACCEPT failed: Protocol not available
## Those can be safely ignored.
NoDelay=true
DeferAcceptSec=1
[Install]
WantedBy=sockets.target
|