This file is indexed.

/usr/share/doc/zonecheck/html/ch02.html is in zonecheck 3.0.5-3.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. Configuration</title><link rel="stylesheet" href="docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><link rel="home" href="index.html" title="ZoneCheck II"><link rel="up" href="index.html" title="ZoneCheck II"><link rel="previous" href="ch01s04.html" title="inetd"><link rel="next" href="ch02s02.html" title="zonecheck configuration (zc.conf)"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="id2734429"></a>Chapter 2. Configuration</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="ch02.html#id2734638">sections</a></dt><dd><dl><dt><a href="ch02.html#id2734624">config</a></dt><dt><a href="ch02.html#id2734463">constant</a></dt><dt><a href="ch02.html#id2785475">useconf</a></dt><dt><a href="ch02.html#id2785503">testseq</a></dt></dl></dd><dt><a href="ch02s02.html">zonecheck configuration (zc.conf)</a></dt><dt><a href="ch02s03.html">zone specific configuration</a></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2734638"></a>sections</h2></div></div><p>A section declaration follow the rules:
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">     section  : name argument '{' commands '}' ';'
     name     : symbol
     argument : (string)?
     commands : (section_specific_command ';')*
     symbol   : [a-zA-Z0-9_]+
     string   : "([^\\\"]|\\[\\\"])*"</pre></td></tr></table><p>
</p><div class="section" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2734624"></a>config</h3></div></div><p>
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">     section_specific_command : option_selection
     option_selection         : symbol '=' string</pre></td></tr></table><p>
</p><p>
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">config {
    transp   = "ipv4,ipv6,std";
    output   = "straight,text";
    verbose  = "explain,details,intro,counter";
    error    = "standard";
    resolver = "127.0.0.1";
};</pre></td></tr></table><p>
</p></div><div class="section" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2734463"></a>constant</h3></div></div><p>toto
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">     section_specific_command : affectation
     affectation              : symbol '=' string</pre></td></tr></table><p>

</p><p>
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">constant {
    # For connectivity testing
    #  the '%s' will be replaced by the IP address
    ping4                 = "ping  -q -c 5 %s &gt; /dev/null";
    ping6                 = "ping6 -q -c 5 %s &gt; /dev/null";

    # HTML path for generated pages
    publish_html_path     = "/zc/";
};</pre></td></tr></table><p>
</p></div><div class="section" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2785475"></a>useconf</h3></div></div><p>toto
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">     section_specific_command : domain_mapping
     domain_mapping           : 'map' domainname filename
     domainname               : string
     filename                 : string</pre></td></tr></table><p>
</p><p>
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">useconf {
    map "fr."         "zc.conf.fr";
    map "arpa."       "zc.conf.arpa";
    map "."           "zc.conf.root";
};</pre></td></tr></table><p>
</p></div><div class="section" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2785503"></a>testseq</h3></div></div><p>toto
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">     commands                 : block
     block                    : (check ';' | switch)*
     check                    : checkname  severity  category
     switch                   : 'case' testname ('when' symbol block)+ 
                                                ('else' block)? 'end'
     testname                 : symbol    # with prefix 'tst_'
     checkname                : symbol    # with prefix 'chk_'
     severity                 : 'f' | 'w' | 'i'</pre></td></tr></table><p>

</p><p>
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">testseq "address" {
    chk_given_ip			f	dns;
    chk_given_nsprim_vs_soa		f	dns;
    case tst_mail_by_mx_or_a
    when MX
        # MX
	chk_mx				f	dns;
	chk_mx_auth			f	dns;
	chk_mx_sntx			f	dns;
    end
};</pre></td></tr></table><p>
</p></div></div></div></body></html>