services.dnscache.domainServers
NixOS option
Table of {hostname: server} pairs to use as authoritative servers for hosts (and subhosts). If entry for @ is not specified predefined list of root servers is used.
type: attribute set of list of stringDefault
{ }Example
declared in: nixos/modules/services/networking/dnscache.nixView source on NixOS/nixpkgs →{
"@" = ["8.8.8.8" "8.8.4.4"];
"example.com" = ["192.168.100.100"];
}