ark/profiles/network/dns/stubby/nextdns.nix

19 lines
516 B
Nix
Raw Normal View History

2020-11-21 23:54:07 +03:00
{
services.stubby = {
roundRobinUpstreams = false;
2020-12-23 19:54:51 +03:00
upstreamServers =
2022-02-18 20:31:01 +03:00
let
nextDnsId = "75e43d";
in ''
2020-12-23 19:54:51 +03:00
- address_data: 45.90.28.0
tls_auth_name: "${nextDnsId}.dns1.nextdns.io"
- address_data: 2a07:a8c0::0
tls_auth_name: "${nextDnsId}.dns1.nextdns.io"
- address_data: 45.90.30.0
tls_auth_name: "${nextDnsId}.dns2.nextdns.io"
- address_data: 2a07:a8c1::0
tls_auth_name: "${nextDnsId}.dns2.nextdns.io"
'';
2020-11-21 23:54:07 +03:00
};
}