I’m seeing the following warning when checking my system log: nixos NetworkManager[1303]: <warn> [1709934611.6366] dns-mgr: init: ns mode 'unbound' was removed. Update your configuration
What does it mean? My network is working normally but i do have set unbound
as my dns resolver. This is listed as an option for networking.networkmanager.dns however, so i don’t understand why the log warning says that it has been removed.
My configuration is as follows:
networking = {
hostName = "nixos";
nameservers = ["127.0.0.1" "::1"];
dhcpcd = {
wait = "if-carrier-up";
extraConfig = "nohook resolv.conf noarp";
};
networkmanager = {
enable = true;
plugins = lib.mkForce [];
dns = "unbound";
wifi.backend = "iwd";
wifi.powersave = true;
};
};
services.unbound = {
enable = true;
enableRootTrustAnchor = true;
settings = {
server = {
verbosity = "0";
cache-min-ttl = "300";
cache-max-ttl = "86400";
use-syslog = "yes";
hide-identity = "yes";
hide-version = "yes";
harden-short-bufsize = "yes";
harden-large-queries = "yes";
harden-glue = "yes";
harden-dnssec-stripped = "yes";
harden-below-nxdomain = "yes";
harden-referral-path = "yes";
harden-algo-downgrade = "yes";
ip-freebind = "no";
qname-minimisation = "yes";
use-caps-for-id = "yes";
prefetch = "yes";
prefetch-key = "yes";
rrset-roundrobin = "yes";
minimal-responses = "yes";
tls-cert-bundle = "/etc/ssl/certs/ca-certificates.crt";
};
remote-control.control-enable = false;
};
};