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
|
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE config PUBLIC "-//ZoneCheck//DTD Config V1.0//EN" "msgcat.dtd">
<msgcat lang="en">
<!-- $Id: cli.en,v 1.19 2004/01/15 16:41:58 sdalu Exp $ -->
<!--
#
# CONTACT : zonecheck@nic.fr
# AUTHOR : Stephane D'Alu <sdalu@nic.fr>
#
# CREATED : 2002/08/02 13:58:17
# REVISION : $Revision: 1.19 $
# DATE : $Date: 2004/01/15 16:41:58 $
#
# CONTRIBUTORS: (see also CREDITS file)
#
#
# LICENSE : GPL v2 (or MIT/X11-like after agreement)
# COPYRIGHT : AFNIC (c) 2003
#
# This file is part of ZoneCheck.
#
# ZoneCheck is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# ZoneCheck is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ZoneCheck; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-->
<tag name="input:cli:usage">usage: PROGNAME: [-hqV] [-voet opt] [-46] [-n ns...] [-c conf] domainname
--lang Select another language (en, fr, ...)
-d, --debug Select debugging messages to print
-h, --help Show this message
-V, --version Display version and exit
-B, --batch Batch mode (read from file or stdin '-')
-c, --config Specify location of the configuration file
--testdir Location of the directory holding tests
-P, --profile Force uses of a particular profile
-C, --category Only perform test for the specified category
-T, --test Name of the test to perform
--testlist List all the available tests
--testdesc Give a description of the test
(values: name, failure, success, explanation)
-r, --resolver Resolver to use for guessing 'ns' information
-n, --ns List of nameservers for the domain
(ex: ns1;ns2=ip1,ip2;ns3=ip3)
-q, --quiet Don't display extra titles
-1, --one Only display the most relevant message
-g, --tagonly Display only tag (suitable for scripting)
-v, --verbose Display extra information (see verbose)
-o, --output Output (see output)
-e, --error Behaviour in case of error (see error)
-t, --transp Transport/routing layer (see transp)
-4, --ipv4 Only check the zone with IPv4 connectivity
-6, --ipv6 Only check the zone with IPv6 connectivity
--preset Use some preset configuration
--option Set extra options (-,-opt,opt,opt=foo)
verbose: [intro/testname/explain/details]
[reportok|fatalonly] [testdesc|counter]
can be prefix by '-' or '!' to remove the effect
intro [i] Print summary for domain and associated nameservers
testname [n] Print the test name
explain [x] Print an explanation for failed tests
details [d] Print a detailed description of the failure
reportok [o] Still report passed test
fatalonly [f] Print fatal errors only
testdesc [t] Print the test description before running it
counter [c] Print a test counter
output: [byseverity|byhost] [text|html]
byseverity *[bs] Output is sorted/merged by severity
byhost [bh] Output is sorted/merged by host
text *[t] Output plain text
html [h] Output HTML
error: [allfatal|allwarning|dfltseverity] [stop|nostop]
allfatal [af] All error are considered fatal
allwarning [aw] All error are considered warning
dfltseverity *[ds] Use the severity associated with the test
stop *[s] Stop on the first fatal error
nostop [ns] Never stop (even on fatal error)
transp: [ipv4/ipv6] [udp|tcp|std]
ipv4 *[4] Use IPv4 routing protocol
ipv6 *[6] Use IPv6 routing protocol
udp [u] Use UDP transport layer
tcp [t] Use TCP transport layer
std *[s] Use UDP with fallback to TCP for truncated messages
Batch Mode:
Process domain from file or stdin, with 1 per line. The syntax is:
DOM=domainname
or DOM=domainname NS=ns1;ns2=ip1,ip2
Categories:
allow=[+|] disallow=[-|!] subcomponent=: separator=,
ex: dns:soa,!dns,+
don't perform DNS tests that are not SOA related
EXAMPLES:
PROGNAME -6 --verbose=i,x,d afnic.fr.
Test the 'afnic.fr.' domain with IPv6 only connectivity, print
a summary information about the tested domain as well as explanations
and details of failed tests
PROGNAME -v c -1 -B -
Work in batch mode, where domains are read from stdin, a progress bar
indicates how many tests remain, and only short report is written
PROGNAME --testdesc error -T soa
Ask for the 'error' message associated with the test 'soa'
</tag>
<!-- Local Variables: -->
<!-- mode: xml -->
<!-- End: -->
</msgcat>
|