8.2.2 -> 8.2.3 Zone File Problems

Derek J. Balling dredd at megacity.org
Mon Jan 29 20:44:07 UTC 2001


At 3:26 PM -0500 1/29/01, Forrest Aldrich wrote:
>         @ IN SOA ns.domain.com. some.domain.com.
>                 (2000010101
>                         ...)
[snip]
>*shrug* I would think that the example should still be valid, because it's
>following a format, similar to something in the named.conf where you can
>have the braces on any part of the line:
>
>         config-directive        {       data;   };
>
>or
>
>         config-directive {
>                                 data;
>         }
>

The difference between the "bad" example (top) and the "good" examples
(below) is that the opening brace begins on the same line as the keyword,
and not on the following line.

A better second-example would have been:

config-directive
{
	data;
}

which (I believe) is valid.  The difference then becomes "There's no RFC
for bind configs, but there is one (1035) for zonefiles." ;-)

D
-- 
+---------------------+-----------------------------------------+
| dredd at megacity.org  | "Conan! What is best in life?"          |
|  Derek J. Balling   | "To crush your enemies, see them        |
|                     |    driven before you, and to hear the   |
|                     |    lamentation of their women!"         |
+---------------------+-----------------------------------------+


More information about the bind-users mailing list