set default-ttl for zones, too

This commit is contained in:
Morre 2020-10-09 12:27:24 +02:00
parent c14b7d0bb5
commit 2b4b75e5db
No known key found for this signature in database
GPG key ID: 5D9B9B1B8F424BBC

View file

@ -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() %}