summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-02-01 17:15:28 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-02-02 15:26:36 +0100
commitbbfca0f371d8c41009e812f3e50e5b93eb457cff (patch)
treef4b9e5163aec673f5c4408e9cdc5901bffd25efe /nixos
parent9a5fe79d07204e7b4c9868892d897f501c9aa419 (diff)
downloadnixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.tar
nixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.tar.gz
nixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.tar.bz2
nixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.tar.lz
nixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.tar.xz
nixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.tar.zst
nixlib-bbfca0f371d8c41009e812f3e50e5b93eb457cff.zip
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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/kresd.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/kresd.nix b/nixos/modules/services/networking/kresd.nix
index 011a9b2f58ea..d0c19c4ecb71 100644
--- a/nixos/modules/services/networking/kresd.nix
+++ b/nixos/modules/services/networking/kresd.nix
@@ -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" ];