This file is indexed.

/usr/share/bcfg2/Hostbase/templates/dns.html is in bcfg2-server 1.2.2-2.

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
{% extends "base.html" %}

{% block pagebanner %}
  <div class="header">
      <h2>dns info for {{ host.hostname }}</h2>
  </div>
  <br/>
{% endblock %}

{% block sidebar %}
{% include "navbar.tmpl" %}
<ul class="sidebar">
   <li><a href="/hostbase/{{ host.id }}/" class="sidebar">host info</a></li>
   <li><a href="/hostbase/{{ host.id }}/edit/" class="sidebar">edit host info</a></li>
   <li><a href="edit/" class="sidebar">edit dns info</a></li>
   <li><a href="/hostbase/{{ host.id }}/logs/" class="sidebar">change logs</a></li>
</ul>
{% include "logout.tmpl" %}
{% endblock %}

{% block content %}

{% for interface in host.interface_set.all %}
    {% for ip in interface.ip_set.all %}
        <ul><li> <b>ip_addr:</b> {{ ip.ip_addr }}</li>
        {% for name in ip.name_set.all  %}
            <ul> <li><b>name:</b> {{ name.name }}</li> <ul>
            {% for cname in name.cname_set.all %}
                <li> <b>cname:</b> {{ cname.cname }}</li>
            {% endfor %}
            {% for mx in name.mxs.all %}
                <li> <b>mx:</b> {{ mx.priority }} {{ mx.mx }}</li>
            {% endfor %}
            </ul></ul>
        {% endfor %}
        </ul>
    {% endfor %}
{% endfor %}
{% endblock %}