8.2.2 -> 8.2.3 Zone File Problems
Derek J. Balling
dredd at megacity.org
Mon Jan 29 20:33:34 UTC 2001
At 3:12 PM -0500 1/29/01, James Snow wrote:
>In response to the latest BIND8 vulnerability I upgraded my nameservers
>from 8.2.2 (p5, I think) to 8.2.3 and my zone files were all rejected.
>
>The cause of this was the positioning of the leading parenthesis after
>the SOA line. For example:
>
> @ IN SOA ns.domain.com. snow.domain.com.
> ( 2001012901
> ... )
>
>This was rejected. I had to move the leading parenthesis up one line to
>get them working again:
>
> @ IN SOA ns.domain.com. snow.domain.com. (
> 2001012901
> ... )
>
>I don't have a preference for either one but I am curious to know if
>there is a reason for this. (Other than just an oddity in parsing the
>zone file.)
Because, in reality the former syntax is illegal, the latter is not. :)
I had this problem when I upgraded bind8->bind9, and its listed in the
bind9 migration notes now (so I'm told, I never looked to see)
It used to be that bind8 "figured out" what you meant, but now it uses a
more strict parsing of the zonefile which doesn't take kindly to errors of
any sort. :)
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