head 1.2; access; symbols RELENG_5_5_0_RELEASE:1.1.1.2.26.1 RELENG_5_5:1.1.1.2.26.1.0.6 RELENG_5_5_BP:1.1.1.2.26.1 RELENG_5_4_0_RELEASE:1.1.1.2.26.1 RELENG_5_4:1.1.1.2.26.1.0.4 RELENG_5_4_BP:1.1.1.2.26.1 RELENG_4_11_0_RELEASE:1.1.1.2 RELENG_4_11:1.1.1.2.0.28 RELENG_4_11_BP:1.1.1.2 RELENG_5_3_0_RELEASE:1.1.1.2.26.1 RELENG_5_3:1.1.1.2.26.1.0.2 RELENG_5_3_BP:1.1.1.2.26.1 RELENG_5:1.1.1.2.0.26 RELENG_5_BP:1.1.1.2 RELENG_4_10_0_RELEASE:1.1.1.2 RELENG_4_10:1.1.1.2.0.24 RELENG_4_10_BP:1.1.1.2 RELENG_5_2_1_RELEASE:1.1.1.2 RELENG_5_2_0_RELEASE:1.1.1.2 RELENG_5_2:1.1.1.2.0.22 RELENG_5_2_BP:1.1.1.2 v8_3_7:1.1.1.2 RELENG_4_9_0_RELEASE:1.1.1.2 RELENG_4_9:1.1.1.2.0.20 RELENG_4_9_BP:1.1.1.2 v8_3_6:1.1.1.2 RELENG_5_1_0_RELEASE:1.1.1.2 RELENG_5_1:1.1.1.2.0.18 RELENG_5_1_BP:1.1.1.2 RELENG_4_8_0_RELEASE:1.1.1.2 RELENG_4_8:1.1.1.2.0.16 RELENG_4_8_BP:1.1.1.2 v8_3_4:1.1.1.2 RELENG_5_0_0_RELEASE:1.1.1.2 RELENG_5_0:1.1.1.2.0.14 RELENG_5_0_BP:1.1.1.2 RELENG_4_7_0_RELEASE:1.1.1.2 RELENG_4_7:1.1.1.2.0.12 RELENG_4_7_BP:1.1.1.2 RELENG_4_6_2_RELEASE:1.1.1.2 RELENG_4_6_1_RELEASE:1.1.1.2 v8_3_3:1.1.1.2 RELENG_4_6_0_RELEASE:1.1.1.2 RELENG_4_6:1.1.1.2.0.10 RELENG_4_6_BP:1.1.1.2 v8_3_2_t1b:1.1.1.2 RELENG_4_5_0_RELEASE:1.1.1.2 RELENG_4_5:1.1.1.2.0.8 RELENG_4_5_BP:1.1.1.2 RELENG_4_4_0_RELEASE:1.1.1.2 RELENG_4_4:1.1.1.2.0.6 RELENG_4_4_BP:1.1.1.2 v8_2_4:1.1.1.2 RELENG_4_3_0_RELEASE:1.1.1.2 RELENG_4_3:1.1.1.2.0.4 RELENG_4_3_BP:1.1.1.2 v8_2_3:1.1.1.2 RELENG_4_2_0_RELEASE:1.1.1.2 v8_2_3_t6b:1.1.1.2 RELENG_4_1_1_RELEASE:1.1.1.2 PRE_SMPNG:1.1.1.2 RELENG_4_1_0_RELEASE:1.1.1.2 RELENG_3_5_0_RELEASE:1.1.1.1.2.1 RELENG_4_0_0_RELEASE:1.1.1.2 RELENG_4:1.1.1.2.0.2 RELENG_4_BP:1.1.1.2 RELENG_3_4_0_RELEASE:1.1.1.1.2.1 v8_2_2_p5:1.1.1.2 RELENG_3_3_0_RELEASE:1.1.1.1 RELENG_3_2_PAO:1.1.1.1.0.4 RELENG_3_2_PAO_BP:1.1.1.1 RELENG_3_2_0_RELEASE:1.1.1.1 RELENG_3_1_0_RELEASE:1.1.1.1 RELENG_3:1.1.1.1.0.2 RELENG_3_BP:1.1.1.1 RELENG_3_0_0_RELEASE:1.1.1.1 v8_1_2:1.1.1.1 bind_8_1_2_t3b:1.1.1.1 ISC:1.1.1; locks; strict; comment @# @; 1.2 date 2004.09.24.19.48.40; author des; state dead; branches; next 1.1; 1.1 date 98.05.03.04.11.30; author peter; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.05.03.04.11.30; author peter; state Exp; branches 1.1.1.1.2.1; next 1.1.1.2; 1.1.1.2 date 99.11.30.02.41.45; author peter; state Exp; branches 1.1.1.2.26.1; next ; 1.1.1.2.26.1 date 2004.09.26.03.09.22; author des; state dead; branches; next ; 1.1.1.1.2.1 date 99.12.13.15.05.35; author peter; state Exp; branches; next ; desc @@ 1.2 log @Retire the BIND 8 sources. @ text @
/* This is a BIND comment as in C */ // This is a BIND comment as in C++ # This is a BIND comment as in common Unix shells and perl
Comments may appear anywhere that whitespace may appear in a BIND configuration file.
C-style comments start with the two characters /*
(slash, star) and end with */
(star, slash). Because
they are completely delimited with these characters, they can be used
to comment only a portion of a line or to span multiple lines.
C-style comments cannot be nested. For example, the following is
not valid because the entire comment ends with the first
*/
:
/* This is the start of a comment. This is still part of the comment. /* This is an incorrect attempt at nesting a comment. */ This is no longer in any comment. */
C++-style comments start with the two characters //
(slash, slash) and continue to the end of the physical line. They
cannot be continued across multiple physical lines; to have one
logical comment span multiple lines, each line must use the
//
pair. For example:
// This is the start of a comment. The next line // is a new comment, even though it is logically // part of the previous comment.
Shell-style (or perl-style, if you prefer) comments start with the
character #
(hash or pound or number or octothorpe or
whatever) and continue to the end of the physical line, like C++
comments.
# This is the start of a comment. The next line # is a new comment, even though it is logically # part of the previous comment.
WARNING: you cannot use the ;
(semicolon) character to start a comment such as you would in a zone
file. The semicolon indicates the end of a configuration statement,
so whatever follows it will be interpreted as the start of the next
statement.
[ BIND Config. File | BIND Home | ISC ]