This file is indexed.

/usr/share/bcfg2/Hostbase/templates/zoneview.html is in bcfg2-server 1.3.3-1ubuntu3.

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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{% extends "base.html" %}

{% block pagebanner %}
  <div class="header">
      <h2>Zones</h2>
      <p>Hostbase generates DNS zone files for the following zones.
  </div>
  <br/>
{% endblock %}

{% block sidebar %}
{% include "navbar.tmpl" %}
<ul class="sidebar">
<li><a href="/hostbase/zones/{{ zone.id }}/edit/" class="sidebar">edit zone</a><br>
</li>
</ul>
{% include "logout.tmpl" %}
{% endblock %}

{% block content %}
<table border="0" width="100%">
   <colgroup>
   <col width="200">
   <col width="*">
   <tr> <td> <b>zone</b></td>
   <td> {{ zone.zone }}</td></tr>
   <tr> <td> <b>serial</b></td>
   <td> {{ zone.serial }}</td></tr>
   <tr> <td> <b>admin</b></td>
   <td> {{ zone.admin }}</td></tr>
   <tr> <td> <b>primary_master</b></td>
   <td> {{ zone.primary_master }}</td></tr>
   <tr> <td> <b>expire</b></td>
   <td> {{ zone.expire }}</td></tr>
   <tr> <td> <b>retry</b></td>
   <td> {{ zone.retry }}</td></tr>
   <tr> <td> <b>refresh</b></td>
   <td> {{ zone.refresh }}</td></tr>
   <tr> <td> <b>ttl</b></td>
   <td> {{ zone.ttl }}</td></tr>

   <tr><td valign="top"> <b>nameservers</b></td>
   <td>
   {% for nameserver in zone.nameservers.all %}
   {{ nameserver.name }}<br>
   {% endfor %}
   </td></tr>
   <tr><td valign="top"> <b>mxs</b></td>
   <td>
   {% for mx in zone.mxs.all %}
   {{ mx.priority }} {{ mx.mx }}<br>
   {% endfor %}
   </td></tr>
   {% if addresses %}
   <tr><td valign="top"> <b>A records</b></td>
   <td>
   {% for address in sof.addresses.all %}
   {{ address.ip_addr }}<br>
   {% endfor %}
   </td></tr>
   {% endif %}

   <tr> <td valign="top"> <b>aux</b></td>
   <td>
   {{ zone.aux|linebreaksbr }}
   </td></tr>

</table>
<br><br>
{% endblock %}