This file is indexed.

/usr/lib/python3/dist-packages/provisioningserver/templates/dns/named.conf.template is in python3-maas-provisioningserver 2.4.0~beta2-6865-gec43e47e6-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;
};