summaryrefslogtreecommitdiff
path: root/config/dns.nix
blob: edf9a0ee57354031b5c66838d2266c9eedca2f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
# dnssec-signzone -A -3 $(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) -N unixtime -o $zone -t db.${zone}
{ config, lib, pkgs, ... }:
{
  services.bind = {
    enable = true;
  };

  systemd.services.bind = {
    preStart = lib.mkAfter "echo test";
  };
}