[nsd-users] zonefiles-check error

W.C.A. Wijngaards wouter at nlnetlabs.nl
Thu Jan 24 10:20:04 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Valentin,

On 01/24/2013 10:56 AM, Valentin Bud wrote:
> /etc/nsd4/nsd4.conf:104: error: syntax error read 
> /etc/nsd4/nsd4.conf failed: 1 errors in configuration file 
> [1359021176] nsd[6762]: error: could not read config: 
> /etc/nsd4/nsd4.conf ```
> 
> On line 104 there is `zonefiles-check: yes`. If I comment that out 
> NSD4 starts. I guess the error pops up because I have no zone
> files yet. I will check this and come back with an answer.
> 
> Thanks for such a great tool :-).

This is a bug in configlexer.lex:
A workaround is "zonefiles-check no"

Index: configlexer.lex
===================================================================
- --- configlexer.lex	(revision 3826)
+++ configlexer.lex	(working copy)
@@ -163,7 +163,7 @@
 rrl-ratelimit{COLON}	{ LEXOUT(("v(%s) ", yytext)); return
VAR_RRL_RATELIMIT;}
 rrl-whitelist-ratelimit{COLON}	{ LEXOUT(("v(%s) ", yytext)); return
VAR_RRL_WHITELIST_RATELIMIT;}
 rrl-whitelist{COLON}	{ LEXOUT(("v(%s) ", yytext)); return
VAR_RRL_WHITELIST;}
- -zonefiles-check		{ LEXOUT(("v(%s) ", yytext)); return
VAR_ZONEFILES_CHECK;}
+zonefiles-check{COLON}	{ LEXOUT(("v(%s) ", yytext)); return
VAR_ZONEFILES_CHECK;}
 {NEWLINE}		{ LEXOUT(("NL\n")); cfg_parser->line++;}

 	/* Quoted strings. Strip leading and ending quotes */

Apologies, it is fixed for the next release.

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJRAQrGAAoJEJ9vHC1+BF+NsVIP/2kBWT/AWC/b+2kz+gw2Kt16
PwifQZsTZBQe4a7j6h2p0D7PGKZ724Ug9cNEmb+msh7kJwceLe9Mvtd/vPgSHwVI
TAYQVsIzxdY62r2t8ZaLDiu6wb7or30NCS2dFmlnKomd9ezfephvTusjL2rKsKdL
aFBasHCGLgjSAEeHBMZePMAGyJ1nzxMUFcwLi1j/J+y5Pgzg1xQoI3zqlIYGkx6a
2K3t/ODRkdJfGdqQ8aXTmuFzLnflPqog1FRwFUYKNhFYaogUOgt04HY/A28wsJFB
fULIwJW0wrQj/lU/8acMBA9qoKuK7pRXVVJL9CCE80/N61/PKn3jbu5HVKAEEfbh
PPzc3yjqUxPyhBz5Zg/GabXdiPVj3om0Pt6cNQB3yVlRDyOFid6UB4503N2jl8QS
66DRrKXehtG0wG61mV50mQFxH849TFXijzRVX7l/LrE1h9FbuWe1i3T7uJHv8nSv
RMpmDyZtFpkBNibE8PTHRJmtVyWKit/hdIuGqZXcDHiMtt7gfs3AKidiHhN/eD6k
Kmaf1AnW9dcXiq+54pPCBn/8vv7k18y7PGoPR7Pj1/iCBynW8ufGQkGqAzsXwLIT
J+ODZf3E/kc85xdDo7i4Xw55hu/V+EDH0C5y/dtRNEnZ8xitURf7OEQP6jGIOoPa
RrQgf3aNZtFwZHTsMzru
=jTl1
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list