nameserver: fix comment

master
Michele Guerini Rocco 2024-02-25 18:58:01 +01:00
parent 5295ada2e2
commit b853f2523e
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
1 changed files with 3 additions and 6 deletions

View File

@ -17,10 +17,7 @@
settings.local-address = [ "0.0.0.0" "::" ];
};
# Wrap the local recursive resolver
# in DNSCrypt on the default OpenVPN port.
# This port is chosen because it's usually
# not blocked in corporate networks.
# Wrap the local recursive resolver in DNSCrypt
services.dnscrypt-wrapper =
{ enable = true;
address = "[::]";
@ -39,10 +36,10 @@
];
settings.protocols =
[ # Send TLS to nginx (TCP)
{ name = "tls"; host= "localhost"; port= "443"; }
{ name = "tls"; host = "localhost"; port= "443"; }
# Send DNSCrypt to dnscrypt-wrapper (TCP or UDP)
{ name = "anyprot"; host = "localhost"; port = "5353"; }
{ name = "anyprot"; host = "localhost"; port = "5353"; is_udp = true;}
{ name = "anyprot"; host = "localhost"; port = "5353"; is_udp = true; }
];
};