services.knot-resolver.settings.network.listen
NixOS option
List of interfaces to listen to and its configuration.
type: list of (open submodule of (YAML 1.1 value))Default
declared in: nixos/modules/services/networking/knot-resolver.nixView source on NixOS/nixpkgs →[
{
interface = [ "127.0.0.1" ];
kind = "dns";
freebind = false;
}
]
++ lib.optionals config.networking.enableIPv6 [
{
interface = [ "::1" ];
kind = "dns";
freebind = false;
}
];