fix(network): ipv6 dns

This commit is contained in:
winston 2024-04-22 12:34:14 +02:00
parent 21c329e9c8
commit 3bed58be25
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -26,13 +26,21 @@
}; };
stubby = { stubby = {
enable = true; enable = true;
settings = { settings =
pkgs.stubby.passthru.settingsExample
// {
resolution_type = "GETDNS_RESOLUTION_STUB"; resolution_type = "GETDNS_RESOLUTION_STUB";
listen_addresses = ["127.0.0.1@53000" "0::1@53000"]; listen_addresses = [
"127.0.0.1@53000"
"0::1@53000"
];
upstream_recursive_servers = [ upstream_recursive_servers = [
{ {
address_data = "146.255.56.98"; address_data = "146.255.56.98";
tls_port = 853; tls_auth_name = "dot1.applied-privacy.net";
}
{
address_data = "2a01:4f8:c0c:83ed::1";
tls_auth_name = "dot1.applied-privacy.net"; tls_auth_name = "dot1.applied-privacy.net";
} }
]; ];