From 2b4b75e5db9adee6082959fa8b278d8dd1c62b21 Mon Sep 17 00:00:00 2001 From: Morre Date: Fri, 9 Oct 2020 12:27:24 +0200 Subject: [PATCH] set default-ttl for zones, too --- templates/zonefile.db.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/zonefile.db.j2 b/templates/zonefile.db.j2 index 49523b1..8d1a509 100644 --- a/templates/zonefile.db.j2 +++ b/templates/zonefile.db.j2 @@ -1,5 +1,5 @@ $ORIGIN {{ item }}. -$TTL 60 +$TTL {{ powerdns.config["default-ttl"] }} @ SOA {{ powerdns.zones[item].SOA }} {% macro generate_records(records, scope='@') %} {% for k, v in records.items() %}