Skip to content

⚙ darkone.system.dns

Public DNS resolvers of the fleet.

One option picks the public operators every DNF resolver sends Internet names to. Addresses come from the dnfLib.publicResolvers catalog (lib/dns.nix); each consumer derives its own form:

ConsumerUseForm
unbound of the HCS (headscale)forwardersDoT, checked by name
AdGuard Home (gateway)bootstrap_dnsplain, IPv4 and IPv6
AdGuard Home (gateway)fallback_dnsDoT by IP
dnsmasq (gateway)fallback serversplain, first IPv4 of each

Out of this selection: AdGuard Home’s filtering upstream (AdGuard DNS, a filtering policy) and the ICMP probes (internetProbeTargets).

# usr/modules/dns.nix: back to Quad9 once it serves the country again
{ darkone.system.dns.publicResolvers = [ "quad9" "cloudflare" ]; }
  • publicResolvers listOf (enum (lib.attrNames dnfLib.publicResolvers)) Public DNS operators (dnfLib.publicResolvers) the HCS unbound, AdGuard Home and dnsmasq send Internet names to.
darkone.system.dns.publicResolvers = [ ];

Source: modules/system/dns.nix 🡕