reNixos/ada/services/dnsproxy.nix
s0me1newithhand7s 5edf1a7f10 fix(ada): dnsproxy config typos
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-05-29 00:37:57 +03:00

49 lines
1.2 KiB
Nix

_: {
services = {
dnsproxy = {
enable = true;
settings = {
listen-addrs = [
"127.0.0.1"
"::1"
];
listen-ports = [
5353
];
http3 = true;
cache = true;
cache-size = 4096;
all-servers = true;
dnssec = true;
bootstrap = [
"1.1.1.1"
"8.8.8.8"
"9.9.9.9"
];
upstream = [
"https://1.1.1.1/dns-query?host=cloudflare-dns.com"
"https://1.0.0.1/dns-query?host=cloudflare-dns.com"
"tls://1.1.1.1#cloudflare-dns.com"
"tls://1.0.0.1#cloudflare-dns.com"
"https://8.8.8.8/dns-query?host=dns.google"
"https://8.8.4.4/dns-query?host=dns.google"
"tls://8.8.8.8#dns.google"
"tls://8.8.4.4#dns.google"
"https://9.9.9.9/dns-query?dns.quad9.net"
"https://149.112.112.112/dns-query?host=dns.quad9.net"
"tls://9.9.9.9#dns.quad9.net"
"tls://149.112.112.112#dns.quad9.net"
"https://208.67.222.222/dns-query?host=opendns.com"
"https://208.67.220.220/dns-query?host=opendns.com"
];
};
};
};
}