1named-checkzone(1M)     System Administration Commands     named-checkzone(1M)
2
3
4

NAME

6       named-checkzone - zone file validity checking tool
7

SYNOPSIS

9       named-checkzone [-djqv] [-c class] [-k mode] [-n mode]
10            [-o filename] [-t directory] [-w directory] [-D]
11            zonename filename
12
13

DESCRIPTION

15       The  named-checkzone  utility checks the syntax and integrity of a zone
16       file. It performs the same checks as  named(1M)  does  when  loading  a
17       zone.  The  named-checkzone  utility  is useful for checking zone files
18       before configuring them into a name server.
19

OPTIONS

21       The following options are supported:
22
23       -c class        Specify the class of the zone. If not  specified,  "IN"
24                       is assumed.
25
26
27       -d              Enable debugging.
28
29
30       -D              Dump zone file in canonical format.
31
32
33       -k mode         Perform  "check-name" checks with the specified failure
34                       mode. Possible modes are "fail", "warn"  (the  default)
35                       and "ignore".
36
37
38       -j              Read  the  journal, if it exists, when loading the zone
39                       file.
40
41
42       -n mode         Specify whether NS records should be checked to see  if
43                       they  are  addresses. Possible modes are "fail", "warn"
44                       (the default) and "ignore".
45
46
47       -o filename     Write zone output to filename.
48
49
50       -q              Run in quiet mode, reporting only the exit status.
51
52
53       -t directory    chroot to directory so that include directives  in  the
54                       configuration  file  are processed as if run by a simi‐
55                       larly chrooted named.
56
57
58       -v              Print the version of the  named-checkzone  program  and
59                       exit.
60
61
62       -w directory    chdir to directory so that relative filenames in master
63                       file $INCLUDE directives work. This is similar to   the
64                       directory clause in named.conf.
65
66

OPERANDS

68       The following operands are supported:
69
70       filename    The name of the zone file.
71
72
73       zonename    The domain name of the zone being checked.
74
75

EXIT STATUS

77       0    No errors were detected.
78
79
80       1    An error was detected.
81
82

ATTRIBUTES

84       See attributes(5) for descriptions of the following attributes:
85
86
87
88
89       ┌─────────────────────────────┬─────────────────────────────┐
90       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
91       ├─────────────────────────────┼─────────────────────────────┤
92       │Availability                 │SUNWbind                     │
93       ├─────────────────────────────┼─────────────────────────────┤
94       │Interface Stability          │External                     │
95       └─────────────────────────────┴─────────────────────────────┘
96

SEE ALSO

98       named(1M), named-checkconf(1M), attributes(5)
99
100
101       RFC 1035
102
103
104       BIND 9 Administrator Reference Manual, available on the ISC web site.
105
106
107
108SunOS 5.11                        24 Dec 2008              named-checkzone(1M)
Impressum