Lower TTLs to 1h

This commit is contained in:
nora 2024-07-27 12:44:34 +02:00
parent 63163a38d0
commit ea74393dcd
3 changed files with 23 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, lib, ... }: {
# get the package for the debugging tools
environment.systemPackages = with pkgs; [ knot-dns ];
@ -29,10 +29,10 @@
zone:
- domain: noratrieb.dev
storage: /var/lib/knot/zones/
file: ${import ./noratrieb.dev.nix { inherit pkgs; }}
file: ${import ./noratrieb.dev.nix { inherit pkgs; inherit lib; }}
- domain: nilstrieb.dev
storage: /var/lib/knot/zones/
file: ${import ./nilstrieb.dev.nix { inherit pkgs; }}
file: ${import ./nilstrieb.dev.nix { inherit pkgs; inherit lib; }}
log:
- target: syslog
any: info