Let default systemd socket listen on both IPv4 and IPv6 (#257)
* Let default systemd socket listen on both IPv4 and IPv6 Setting listen_addresses = [] in config will listen on systemd socket, but by previous systemd socket config it would only listen on IPv4 127.0.0.1:53 without IPv6. This change fixes it. * Update dnscrypt-proxy.socket
This commit is contained in:
parent
0026a20e08
commit
a95c7b729b
|
@ -3,7 +3,9 @@ Description=dnscrypt-proxy listening socket
|
|||
|
||||
[Socket]
|
||||
ListenStream=127.0.0.1:53
|
||||
ListenStream=[::1]:53
|
||||
ListenDatagram=127.0.0.1:53
|
||||
ListenDatagram=[::1]:53
|
||||
NoDelay=true
|
||||
DeferAcceptSec=1
|
||||
|
||||
|
|
Loading…
Reference in New Issue