nameserver: fix comment
This commit is contained in:
parent
5295ada2e2
commit
b853f2523e
@ -17,10 +17,7 @@
|
|||||||
settings.local-address = [ "0.0.0.0" "::" ];
|
settings.local-address = [ "0.0.0.0" "::" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Wrap the local recursive resolver
|
# Wrap the local recursive resolver in DNSCrypt
|
||||||
# in DNSCrypt on the default OpenVPN port.
|
|
||||||
# This port is chosen because it's usually
|
|
||||||
# not blocked in corporate networks.
|
|
||||||
services.dnscrypt-wrapper =
|
services.dnscrypt-wrapper =
|
||||||
{ enable = true;
|
{ enable = true;
|
||||||
address = "[::]";
|
address = "[::]";
|
||||||
@ -39,10 +36,10 @@
|
|||||||
];
|
];
|
||||||
settings.protocols =
|
settings.protocols =
|
||||||
[ # Send TLS to nginx (TCP)
|
[ # 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)
|
# Send DNSCrypt to dnscrypt-wrapper (TCP or UDP)
|
||||||
{ name = "anyprot"; host = "localhost"; port = "5353"; }
|
{ name = "anyprot"; host = "localhost"; port = "5353"; }
|
||||||
{ name = "anyprot"; host = "localhost"; port = "5353"; is_udp = true;}
|
{ name = "anyprot"; host = "localhost"; port = "5353"; is_udp = true; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user