networking.nameservers
NixOS option
The list of nameservers. It can be left empty if it is auto-detected through DHCP.
type: list of stringDefault
[ ]
Example
declared in: nixos/modules/tasks/network-interfaces.nixView source on NixOS/nixpkgs →[ "130.161.158.4" "130.161.33.17" ]