/etc/maas/templates/dns/named.conf.template is in maas-region-api 2.0.0~beta3+bzr4941-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 20 21 | include "{{named_rndc_conf_path}}";
# Zone declarations.
{{for zone in zones}}
{{for zoneinfo in zone.zone_info}}
zone "{{zoneinfo.zone_name}}" {
type master;
file "{{zoneinfo.target_path}}";
};
{{endfor}}
{{endfor}}
# Access control for recursive queries. See named.conf.options.inside.maas
# for the directives used on this ACL.
acl "trusted" {
{{for trusted_network in trusted_networks}}
{{trusted_network}};
{{endfor}}
localnets;
localhost;
};
|