/etc/maas/templates/dns/zone.template is in maas-region-controller-min 1.5+bzr2252-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ; Zone file modified: {{modified}}.
; Note that the modification time of this file doesn't reflect
; the actual modification time. MAAS controls the modification time
; of this file to be able to force the zone to be reloaded by BIND.
$TTL 300
@ IN SOA {{domain}}. nobody.example.com. (
{{serial}} ; serial
600 ; Refresh
1800 ; Retry
604800 ; Expire
300 ; TTL
)
IN NS {{domain}}.
{{for type, mapping in mappings.items()}}
{{for item_from, item_to in mapping}}
{{item_from}} IN {{type}} {{item_to}}
{{endfor}}
{{endfor}}
|