Maintained by: NLnet Labs

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

David Benfell
Fri May 25 23:13:10 CEST 2012


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

On 05/25/2012 02:27 AM, David Benfell wrote:
> Hello all,
> 
> This is Arch Linux, so probably an upgrade did me in:
> 

I have now attempted building unbound from source. I'm still getting
the same error:

/usr/local/etc/unbound/unbound.conf:572: error: syntax error

Here is my attempt at filtering my configuration:

atlanta# egrep -v "^[[:space:]]*#|^$" /etc/unbound/unbound.conf
server:
	verbosity: 1
	extended-statistics: yes
	interface: 127.0.0.1
	interface: 10.8.0.1
	interface: ::1
	outgoing-interface: 127.0.0.1
	do-ip4: yes
	do-ip6: yes
	do-udp: yes
	do-tcp: yes
	access-control: 0.0.0.0/0 refuse
	access-control: 127.0.0.0/8 allow
	access-control: 10.8.0.0/16 allow
	access-control: ::0/0 refuse
	access-control: ::1 allow
	chroot: ""
	harden-referral-path: yes
	use-caps-for-id: yes
	private-address: 10.0.0.0/8
	private-address: 172.16.0.0/12
	private-address: 192.168.0.0/16
	private-address: 192.254.0.0/16
	private-address: fd00::/8
	private-address: fe80::/10
	do-not-query-localhost: no
	prefetch: yes
	prefetch-key: yes
	
	auto-trust-anchor-file: "/etc/unbound/dnssec_root.key"
	val-log-level: 2
	
        local-zone: "parts-unknown.org." static
        local-data: "parts-unknown.org. IN A 74.207.225.79"
        local-data: "parts-unknown.org. IN MX 10 parts-unknown.org."
        local-data: "atlanta.parts-unknown.org. IN A 10.8.0.1"
        local-data: "graton.parts-unknown.org. IN A 10.8.0.10"
	local-data: "graton.parts-unknown.org. IN MX 20 parts-unknown.org."
	local-data: "graton.parts-unknown.org. IN MX 10
graton.parts-unknown.org."
        local-data: "n4rky.parts-unknown.org. IN A 10.8.0.22"
        local-data: "notary.parts-unknown.org. IN A 10.8.0.1"
        local-data: "www.parts-unknown.org. IN A 74.207.225.79"
	local-data: "s.parts-unknown.org. IN A 74.207.225.79"
        local-zone: "cybernude.org." static
        local-data: "cybernude.org. IN A 173.230.137.73"
        local-data: "cybernude.org. IN MX 10 parts-unknown.org."
        local-data: "atlanta.cybernude.org. IN A 10.8.0.1"
        local-data: "graton.cybernude.org. IN A 10.8.0.10"
	local-data: "graton.cybernude.org. IN MX 20 parts-unknown.org."
	local-data: "graton.cybernude.org. IN MX 10 graton.parts-unknown.org."
        local-data: "n4rky.cybernude.org. IN A 10.8.0.22"
        local-data: "www.cybernude.org. IN A 10.8.0.10"
	local-data: "s.cybernude.org. IN A 173.230.137.73"
        local-zone: "disunitedstates.com." static
        local-data: "disunitedstates.com. IN A 173.230.137.73"
        local-data: "disunitedstates.com. IN MX 10 parts-unknown.org."
        local-data: "atlanta.disunitedstates.com. IN A 10.8.0.1"
        local-data: "graton.disunitedstates.com. IN A 10.8.0.10"
	local-data: "graton.disunitedstates.com. IN MX 10
graton.parts-unknown.org."
        local-data: "graton.disunitedstates.com. IN MX 20
parts-unknown.org."
        local-data: "n4rky.disunitedstates.com. IN A 10.8.0.22"
        local-data: "www.disunitedstates.com. IN A 173.230.137.73"
        local-data: "www.joomla.disunitedstates.com. IN A 173.230.137.73"
	local-data: "s.disunitedstates.com. IN A 173.230.137.73"
        local-zone: "disunitedstates.org." static
        local-data: "disunitedstates.org. IN A 173.230.137.76"
        local-data: "disunitedstates.org. IN MX 10 parts-unknown.org."
        local-data: "atlanta.disunitedstates.org. IN A 10.8.0.1"
        local-data: "graton.disunitedstates.org. IN A 10.8.0.10"
        local-data: "graton.disunitedstates.org. IN MX 20
parts-unknown.org."
        local-data: "graton.disunitedstates.org. IN MX 10
graton.parts-unknown.org."
        local-data: "n4rky.disunitedstates.org. IN A 10.8.0.22"
        local-data: "www.disunitedstates.org. IN A 173.230.137.76"
	local-data: "s.disunitedstates.org. IN A 173.230.137.76"
        local-zone: "n4rky.me." static
        local-data: "n4rky.me. IN A 173.230.137.73"
        local-data: "n4rky.me. IN MX 10 parts-unknown.org."
        local-data: "atlanta.n4rky.me. IN A 10.8.0.1"
        local-data: "graton.n4rky.me. IN A 10.8.0.10"
        local-data: "n4rky.n4rky.me. IN A 10.8.0.22"
        local-data: "www.n4rky.me. IN A 173.230.137.73"
	local-data: "s.n4rky.me. IN A 173.230.137.73"
	local-data-ptr: "10.8.0.1 atlanta.parts-unknown.org"
	local-data-ptr: "10.8.0.10 graton.parts-unknown.org"
	local-data-ptr: "10.8.0.22 n4rky.parts-unknown.org"
python:
remote-control:
	control-enable: yes
	control-interface: 127.0.0.1
do-not-query-localhost: no
forward-zone:
  name: "."
  forward-addr: 127.0.0.1 at 53

The line in question seems to be the do-not-query-localhost: no directive.

Thanks!
- -- 
David Benfell
benfell at parts-unknown.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPv/XgAAoJELT202JKF+xpV3IQAIdU7YRZiTRCuvwbD60Rrvln
tfKuNeIjsBlmmgVbmKf30XRhl6qitWmJbfDMLWilco5Hn+1sO4sWNgKA8gaEP6MI
hpoaH1IiwuVPLEzNjwDeJ1xncbDlgC6hPfCunvXJkb22qO1rPO1uos8GmDVwjXTD
HwKJ8b5abxHEO/sOzVpBEJoBY3G22WWj/xpW6lMc+G09/g5yCTuS/vltQn1i/Emj
hGvwr8DsAc9EDz90ZzgylXrdH2bxfBz9CYXNfi8teYNfmAm8SO+YcqPa+6IJy5sb
B7DdIchRTnikxOSzqpIAGy/tTpcR6LorQjaiKYVGYNNlKBeGWrqyB3NpshL0Vz7U
YuEtDgdbHjr6k6336bC02Ir4xKYEqaxJ1vbviFPwOT7EODije37w1BTLEL+J4qiS
MtEFqTbzFuw4m7NZGDC4rJ3ooPty6HPmfa8JA+IlkS+dVNpiHfTBdpcxGUyvpim1
E80ej0ULnG7gZ3V7eXRh/ZjLHQVByqiY55h06Pfgpj8Pe1ZMeek3wxMd6RLjwN9N
ly/lHVYZIi0oWYqdNck4L/TUtSYZ5eLfpXc/nuwie8RWHLHi3Xs6xHFci0w/gtf/
0Kf2Nsw08PBBpCaNVX9MUbNqEjTEE00dPG8/cBHjoeNIoBSCdlGA/cEmg9SC+iPv
ZUWeVHGajJuNxNhIadm6
=Le+i
-----END PGP SIGNATURE-----