knot-resolver: 1.5.3 -> 2.0.0 (feature update)

Also split extraFeatures into a wrapper derivation.
So far, no changes like user renaming nor systemd unit rework.
This commit is contained in:
Vladimír Čunát
2018-02-02 15:26:36 +01:00
parent 9a5fe79d07
commit bbfca0f371
2 changed files with 44 additions and 33 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ in
type = with types; listOf str;
default = [ "::1" "127.0.0.1" ];
description = ''
What addresses the server should listen on.
What addresses the server should listen on. (UDP+TCP 53)
'';
};
# TODO: perhaps options for more common stuff like cache size or forwarding
@@ -99,9 +99,9 @@ in
Restart = "on-failure";
};
# Trust anchor goes from dns-root-data by default.
script = ''
exec '${package}/bin/kresd' --config '${configFile}' \
-k '${pkgs.dns-root-data}/root.key'
exec '${package}/bin/kresd' --config '${configFile}' --forks=1
'';
requires = [ "kresd.socket" ];