services.resolved.fallbackDns

A list of IPv4 and IPv6 addresses to use as the fallback DNS servers. If this option is null, a compiled-in list of DNS servers is used instead. Setting this option to an empty list will override the built-in list to an empty list, disabling fallback.

Type
null or (list of string)
Default
null
Example
[
  "8.8.8.8"
  "2001:4860:4860::8844"
]
Declared
<nixpkgs/nixos/modules/system/boot/resolved.nix>