From 15d99bc68b36db6ac5c7a372a533b74fd907ffa4 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 5 Dec 2022 10:00:35 +0800 Subject: [PATCH] nixbld: persist DNSSEC private key https://github.com/NixOS/nixpkgs/issues/204391 --- nixbld-etc-nixos/configuration.nix | 1 + nixbld-etc-nixos/named/m-labs.hk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 699fc628..851ca575 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -180,6 +180,7 @@ in forwarders = []; extraOptions = "listen-on-v6 port 5354 { ::1; };"; cacheNetworks = [ "::1/128" ]; + directory = "/etc/nixos/named"; zones = { "m-labs.hk" = { name = "m-labs.hk"; diff --git a/nixbld-etc-nixos/named/m-labs.hk b/nixbld-etc-nixos/named/m-labs.hk index 33f94efa..37c65edb 100644 --- a/nixbld-etc-nixos/named/m-labs.hk +++ b/nixbld-etc-nixos/named/m-labs.hk @@ -1,7 +1,7 @@ $TTL 7200 @ SOA 42-200-147-171.static.imsbiz.com. sb.m-labs.hk. ( - 2022110301 + 2022120602 7200 3600 86400