Render the bad-tsig.db file using jinja2 template to get rid of
copy_setports.
Since the zone is using @ character, use the raw directive to avoid
interpreting it as a variable start.
./named-compilezone -D -F raw -o good1.db.raw example \
zones/good1.db >/dev/null 2>&1
-
-copy_setports zones/bad-tsig.db.in zones/bad-tsig.db
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
+{% raw %}
$TTL 600
@ SOA ns hostmaster 2011012708 3600 1200 604800 1200
NS ns
ns A 192.0.2.1
+{% endraw %}
tsig TSIG @DEFAULT_HMAC@ 1516135665 300 20 thBt8DheAD7qpqSFTiGK999sxGg= 54994 NOERROR 0