components/bind/Solaris/named-checkconf.8
changeset 4980 b0ec15659025
parent 4438 5c17d084f39b
child 5768 e6d4e608e866
equal deleted inserted replaced
4979:43ca747f5e4a 4980:b0ec15659025
       
     1 '\" te
       
     2 .\" Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
       
     3 .\" Permission to use, copy, modify, and/or distribute this software for any purpose  with or without fee is hereby granted, provided that the above copyright notice  and this permission notice appear in all copies.  THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL,  DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE OR PERFORMANCE OF THIS SOFTWARE.
       
     4 .\" Portions Copyright (c) 2010, Sun Microsystems, Inc. All Rights Reserved.
       
     5 .TH named-checkconf 8 "19 Oct 2015" "SunOS 5.12" "System Administration Commands"
       
     6 .SH NAME
       
     7 named-checkconf \- named configuration file syntax checking tool
       
     8 .SH SYNOPSIS
       
     9 .LP
       
    10 .nf
       
    11 \fBnamed-checkconf\fR [\fB-hjvz\fR] [\fB-t\fR \fIdirectory\fR] \fIfilename\fR
       
    12 .fi
       
    13 
       
    14 .SH DESCRIPTION
       
    15 .sp
       
    16 .LP
       
    17 The \fBnamed-checkconf\fR utility checks the syntax, but not the semantics, of a specified configuration file.
       
    18 .SH OPTIONS
       
    19 .sp
       
    20 .LP
       
    21 The following options are supported:
       
    22 .sp
       
    23 .ne 2
       
    24 .mk
       
    25 .na
       
    26 \fB\fB-h\fR\fR
       
    27 .ad
       
    28 .sp .6
       
    29 .RS 4n
       
    30 Display the usage summary and exit.
       
    31 .RE
       
    32 
       
    33 .sp
       
    34 .ne 2
       
    35 .mk
       
    36 .na
       
    37 \fB\fB-j\fR\fR
       
    38 .ad
       
    39 .sp .6
       
    40 .RS 4n
       
    41 When loading a zonefile, read the journal if it exists.
       
    42 .RE
       
    43 
       
    44 .sp
       
    45 .ne 2
       
    46 .mk
       
    47 .na
       
    48 \fB\fB-t\fR \fIdirectory\fR\fR
       
    49 .ad
       
    50 .sp .6
       
    51 .RS 4n
       
    52 Change the root directory to \fIdirectory\fR so that include directives in the configuration file are processed as if run by a named configuration whose root directory has been similarly changed.
       
    53 .RE
       
    54 
       
    55 .sp
       
    56 .ne 2
       
    57 .mk
       
    58 .na
       
    59 \fB\fB-v\fR\fR
       
    60 .ad
       
    61 .sp .6
       
    62 .RS 4n
       
    63 Print the version of the \fBnamed-checkconf\fR program and exit.
       
    64 .RE
       
    65 
       
    66 .sp
       
    67 .ne 2
       
    68 .mk
       
    69 .na
       
    70 \fB\fB-z\fR\fR
       
    71 .ad
       
    72 .sp .6
       
    73 .RS 4n
       
    74 Perform a test load of the master zones found in \fBnamed.conf\fR.
       
    75 .RE
       
    76 
       
    77 .SH OPERANDS
       
    78 .sp
       
    79 .LP
       
    80 The following operands are supported:
       
    81 .sp
       
    82 .ne 2
       
    83 .mk
       
    84 .na
       
    85 \fB\fIfilename\fR\fR
       
    86 .ad
       
    87 .sp .6
       
    88 .RS 4n
       
    89 The name of the configuration file to be checked. If not specified, it defaults to \fB/etc/named.conf\fR.
       
    90 .RE
       
    91 
       
    92 .SH EXIT STATUS
       
    93 .sp
       
    94 .ne 2
       
    95 .mk
       
    96 .na
       
    97 \fB\fB0\fR\fR
       
    98 .ad
       
    99 .sp .6
       
   100 .RS 4n
       
   101 No errors were detected.
       
   102 .RE
       
   103 
       
   104 .sp
       
   105 .ne 2
       
   106 .mk
       
   107 .na
       
   108 \fB\fB1\fR\fR
       
   109 .ad
       
   110 .sp .6
       
   111 .RS 4n
       
   112 An error was detected.
       
   113 .RE
       
   114 
       
   115 .SH ATTRIBUTES
       
   116 .sp
       
   117 .LP
       
   118 See \fBattributes\fR(5) for descriptions of the following attributes:
       
   119 .sp
       
   120 
       
   121 .sp
       
   122 .TS
       
   123 tab() box;
       
   124 cw(2.75i) |cw(2.75i) 
       
   125 lw(2.75i) |lw(2.75i) 
       
   126 .
       
   127 ATTRIBUTE TYPEATTRIBUTE VALUE
       
   128 _
       
   129 Availabilityservice/network/dns/bind
       
   130 _
       
   131 Interface StabilityVolatile
       
   132 .TE
       
   133 
       
   134 .SH SEE ALSO
       
   135 .sp
       
   136 .LP
       
   137 \fBnamed\fR(8), \fBnamed-checkzone\fR(8), \fBattributes\fR(5)
       
   138 .sp
       
   139 .LP
       
   140 See the BIND 9 \fIAdministrator's Reference Manual\fR. As of the date of publication of this man page, this document is available at https://www.isc.org/software/bind/documentation\&.