Hi,
Oops. Attached is a patch for nsd-patch.c. Use that by:
# patch < patch_for_nsd_patch
# make
Error is fixed in svn trunk (see Changelog), and will be released in
3.0.1 today or tomorrow.
Thanks for the bugreport Alex,
Wouter
Alex WC Lee wrote:> Hi,
>
> I'm not sure if it's the way the zone files are written on the
master
> server or if something is wrong when the zones files gets written by the
> "nsdc patch" command or if it's the way nsd parses the zone
files.
>
> Whenever my slaves servers issues the nsdc patch command, it tries to
> save it to corresponding zone files. After that when we try to
> rebuild/reparse those zone files, it gives the following error,
> complaining as many times as I have any lines above the SOA entry:
>
> error: RR before SOA skipped
>
> Then i went into the zone files and looked at the way it's been
written,
> and it seems that if i move the SOA entry to the top before all the NS,
> MX and TXT entries, then the problem goes away. However, that's just a
> manual workaround, and it would be nice if I the "nsdc patch"
command
> would write something that nsdc accepts.
>
> Just wondering if anyone experiences similar issues.
>
> ~Alex
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_for_nsd_patch
URL:
<http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20060906/d9435c06/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20060906/d9435c06/attachment.bin>