bind: add required config to test

master
Thomas Bereknyei 2021-02-22 00:54:50 -05:00 committed by tomberek
parent 9b2e8cac52
commit a9d88757eb
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import ./make-test-python.nix {
services.bind.extraOptions = "empty-zones-enable no;";
services.bind.zones = lib.singleton {
name = ".";
master = true;
file = pkgs.writeText "root.zone" ''
$TTL 3600
. IN SOA ns.example.org. admin.example.org. ( 1 3h 1h 1w 1d )