[Unbound-users] Update: Re: You have got to be kidding me: fatal error: Could not read config file

W.C.A. Wijngaards wouter at nlnetlabs.nl
Fri May 25 09:54:36 UTC 2012


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

Hi David,

On 05/25/2012 11:44 AM, David Benfell wrote:
> On 05/25/2012 02:27 AM, David Benfell wrote:
> 
>> atlanta# unbound /etc/unbound/unbound.conf:572: error: syntax 
>> error read /etc/unbound/unbound.conf failed: 1 errors in 
>> configuration file [1337937787] unbound[3676:0] fatal error:
>> Could not read config file: /etc/unbound/unbound.conf
> 
> 
> Oh, now I see (it's nearly 3 am here). The line in question is:
> 
> do-not-query-localhost: no

This works for me, this line.  Did you compile from source?  In that
case, make clean, rm util/configlexer.c util/configparser.c and make
it again.  Perhaps Makefile rules have failed somehow resulting in
flex and yacc sources to get out of sync?

Or, extract the source tarball again (flex and yacc have been run for
you, and the source is present in the tarball for people without the
flex and byacc tools) and set those files readonly ...

> I'm trying to get dnscrypt working--which is another problem (it 
> crashes instantly)--which is why this line is present. What am I 
> supposed to do instead?

The do-not-query-localhost option should work in unbound.conf...

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPv1bcAAoJEJ9vHC1+BF+Nmi4P/RuGHmQZx5xfqXqEqHf1LKm9
Fl3Mf9JhF/67glIILTpVVo4h/V/5McaoXcJ0c4CPZtI9iAyz0xLtmAXKV1YDiACF
GE3UG0ES272jFEkuEfezk04kODrZ1dvEpDPUvxtnMZjdkSycR9cNlQvb7t2mBppN
gmOx1tyCE1JBrEiyEfMuytFdIk8Ftpu/E8BWrBr8sMtcKReWuECGym0CXz0dsmV2
1mO5x76J9KJjZxgVuFNxmoLgYPIjxuaOTybjfG24nMhZQOJcVcvLWAHzZpWKdxqm
UDP4rAOFKji9jj9L3jdVbiB2RspJ3bX35VkiLTjGefafmaDz2Q/PMBiKeJTJZUzJ
6ivxwUDJI1LT7ClX5oTKmIZZ5HIkwbP+ss4EJALHOMNajgavqX5+L096JK+vBkIN
Bcg1xaA+YCcvzBkshRDKWVQ/wQ/gM8tBAwggrpkJTworQNkyE3rxx6mzbCkCzwua
IeYpnt25PcQQzbDjSkGXmP9E65w29aQvZclKhZk8i64r2oglGoZ5IC4woWJG+NGf
k4LtirUiJbJHZB/5DtNydYPp0zACc4kuawdOvyBOrGmYYxhgY3sXrwgyYI/+ptBK
JFMrp6o93ZSutcgR+qXsmEI3oJDgo5hp31Ngqf8N6lIzFnNEZ6ux7iaDi0tqhArE
z2OpGSFxtOig3IS/sJtl
=NId6
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list