Unbound wont start
-
If i enable "cache restoration support", unbound refuses to start. I'm using pf 2.0 amd64 built on Thu Mar 17 08:56:03 EDT 2011 with latest unbound: 1.4.8_131 as reported by packages-manager
-
What does /var/log/unbound.log say?
-
My other pfsense died, so here I am with a fresh install of 2.0 and a few toys..
I have noticed this as well. Only way I can get mine to start is save the unbound settings, it will then start. I also have Cache Restoration Support checked. ( I have not tried reboot with the restore turned off yet tho)
I did not get the logs before restarting this time, the the logs appear to only cover information from when I saved the settings and it restarted.
running 2.0-RC1 (i386) built on Mon Mar 28 12:20:28 EDT 2011
Mar 28 19:32:46 pfsense unbound: [14523:0] notice: init module 0: validator
Mar 28 19:32:46 pfsense unbound: [14523:0] notice: init module 1: iterator
Mar 28 19:32:46 pfsense unbound: [14523:0] info: start of service (unbound 1.4.8).
Mar 28 19:32:49 pfsense unbound: [14523:0] info: service stopped (unbound 1.4.8).
Mar 28 19:32:49 pfsense unbound: [14523:0] info: server stats for thread 0: 4 queries, 1 answers from cache, 3 recursions, 0 prefetch
Mar 28 19:32:49 pfsense unbound: [14523:0] info: server stats for thread 0: requestlist max 0 avg 0 exceeded 0
Mar 28 19:32:49 pfsense unbound: [14523:0] info: average recursion processing time 0.590122 sec
Mar 28 19:32:49 pfsense unbound: [14523:0] info: histogram of recursion processing times
Mar 28 19:32:49 pfsense unbound: [14523:0] info: [25%]=0 median[50%]=0 [75%]=0
Mar 28 19:32:49 pfsense unbound: [14523:0] info: lower(secs) upper(secs) recursions
Mar 28 19:32:49 pfsense unbound: [14523:0] info: 0.262144 0.524288 1
Mar 28 19:32:49 pfsense unbound: [14523:0] info: 0.524288 1.000000 2
Mar 28 19:32:49 pfsense unbound: [14523:0] info: server stats for thread 1: 9 queries, 2 answers from cache, 7 recursions, 0 prefetch
Mar 28 19:32:49 pfsense unbound: [14523:0] info: server stats for thread 1: requestlist max 5 avg 1.85714 exceeded 0
Mar 28 19:32:49 pfsense unbound: [14523:0] info: average recursion processing time 0.375896 sec
Mar 28 19:32:49 pfsense unbound: [14523:0] info: histogram of recursion processing times
Mar 28 19:32:49 pfsense unbound: [14523:0] info: [25%]=0.032768 median[50%]=0.109227 [75%]=0.198213
Mar 28 19:32:49 pfsense unbound: [14523:0] info: lower(secs) upper(secs) recursions
Mar 28 19:32:49 pfsense unbound: [14523:0] info: 0.065536 0.131072 1
Mar 28 19:32:49 pfsense unbound: [14523:0] info: 0.131072 0.262144 3
Mar 28 19:32:49 pfsense unbound: [14523:0] info: 0.524288 1.000000 3
Mar 28 19:33:21 pfsense unbound: [57263:0] notice: init module 0: validator
Mar 28 19:33:21 pfsense unbound: [57263:0] notice: init module 1: iterator
Mar 28 19:33:21 pfsense unbound: [57263:0] info: start of service (unbound 1.4.8).
Mar 28 19:33:22 pfsense unbound: [57263:0] info: service stopped (unbound 1.4.8).
Mar 28 19:33:22 pfsense unbound: [57263:0] info: server stats for thread 0: 5 queries, 0 answers from cache, 5 recursions, 0 prefetch
Mar 28 19:33:22 pfsense unbound: [57263:0] info: server stats for thread 0: requestlist max 2 avg 0.8 exceeded 0
Mar 28 19:33:22 pfsense unbound: [57263:0] info: average recursion processing time 0.338049 sec
Mar 28 19:33:22 pfsense unbound: [57263:0] info: histogram of recursion processing times
Mar 28 19:33:22 pfsense unbound: [57263:0] info: [25%]=0.131072 median[50%]=0.0873813 [75%]=0.174763
Mar 28 19:33:22 pfsense unbound: [57263:0] info: lower(secs) upper(secs) recursions
Mar 28 19:33:22 pfsense unbound: [57263:0] info: 0.131072 0.262144 1
Mar 28 19:33:22 pfsense unbound: [57263:0] info: 0.262144 0.524288 3
Mar 28 19:33:22 pfsense unbound: [57263:0] info: server stats for thread 1: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch
Mar 28 19:33:22 pfsense unbound: [57263:0] info: server stats for thread 1: requestlist max 0 avg 0 exceeded 0
Mar 28 19:33:37 pfsense unbound: [33536:0] notice: init module 0: validator
Mar 28 19:33:37 pfsense unbound: [33536:0] notice: init module 1: iterator
Mar 28 19:33:37 pfsense unbound: [33536:0] info: start of service (unbound 1.4.8). -
Silly question - but after you install Unbound, it wont start automatically as you need to then configure it which also requires disabling the DNS Forwarder (as per post-installation notes). The unbound logs will then start to be populated once you have configured and clicked 'save'.
Did you do this?