/usr/share/doc/zonecheck/xml/common/config.xml 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | <!-- $Id: config.xml,v 1.3 2010/06/01 15:36:07 chabannf Exp $ -->
<section>
<title>sections</title>
<para>A section declaration follow the rules:
<screen> section : name argument '{' commands '}' ';'
name : symbol
argument : (string)?
commands : (section_specific_command ';')*
symbol : [a-zA-Z0-9_]+
string : "([^\\\"]|\\[\\\"])*"</screen>
</para>
<section>
<title>config</title>
<para>
<screen> section_specific_command : option_selection
option_selection : symbol '=' string</screen>
</para>
<para>
<screen>config {
transp = "ipv4,ipv6,std";
output = "straight,text";
verbose = "explain,details,intro,counter";
error = "standard";
resolver = "127.0.0.1";
};</screen>
</para>
</section>
<section>
<title>constant</title>
<para>toto
<screen> section_specific_command : affectation
affectation : symbol '=' string</screen>
</para>
<para>
<screen>constant {
# For connectivity testing
# the '%s' will be replaced by the IP address
ping4 = "ping -q -c 5 %s > /dev/null";
ping6 = "ping6 -q -c 5 %s > /dev/null";
# HTML path for generated pages
publish_html_path = "/zc/";
};</screen>
</para>
</section>
<section>
<title>useconf</title>
<para>toto
<screen> section_specific_command : domain_mapping
domain_mapping : 'map' domainname filename
domainname : string
filename : string</screen>
</para>
<para>
<screen>useconf {
map "fr." "zc.conf.fr";
map "arpa." "zc.conf.arpa";
map "." "zc.conf.root";
};</screen>
</para>
</section>
<section>
<title>testseq</title>
<para>toto
<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'</screen>
</para>
<para>
<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
};</screen>
</para>
</section>
</section>
<section>
<title>zonecheck configuration (<filename>zc.conf</filename>)</title>
<para>toto</para>
</section>
<section>
<title>zone specific configuration</title>
<para>toto</para>
</section>
<!--
Local Variables:
mode: xml
sgml-declaration: "../chapter.decl"
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
sgml-parent-document: ("../zc.xml" "part" "chapter")
End:
-->
|