gspannu
Senior Member
+1would it make sense to edit post #1 with a quick example on the use of this new feature?
+1would it make sense to edit post #1 with a quick example on the use of this new feature?
See:would it make sense to edit post #1 with a quick example on the use of this new feature?
Jun 4 09:51:43 asus unbound: [12433:0] info: service stopped (unbound 1.10.0).
Jun 4 09:52:50 asus S61unbound: start Unbound DNS server (bypass dnsmasq) /opt/etc/init.d/S61unbound
Jun 4 09:52:50 asus unbound: created br0:pixelserv-tls for 10.10.10.2
Jun 4 09:55:46 asus (unbound_manager.sh): 19698 Starting Script Execution (easy)
Jun 4 09:55:47 asus (unbound_manager.sh): 19698 Warning unbound not running!! # rgnldo Github Version=v1.10 Martineau update (Date Loaded by unbound_manager Thu Jun 4 09:39:29 IST 2020)
Jun 4 09:55:52 asus (unbound_manager.sh): 19698 Starting Script Execution (easy)
Jun 4 09:55:54 asus (unbound_manager.sh): 19698 Warning unbound not running!! # rgnldo Github Version=v1.10 Martineau update (Date Loaded by unbound_manager Thu Jun 4 09:39:29 IST 2020)
Jun 4 09:56:02 asus S61unbound: restart Unbound DNS server (bypass dnsmasq) /opt/etc/init.d/S61unbound
Jun 4 09:56:04 asus unbound: [21231:0] info: start of service (unbound 1.10.0).
Jun 4 09:56:05 asus (unbound_manager.sh): 19698 unbound cache RESTORED from '/opt/share/unbound/configs/cache.txt' (2020-06-04 05:15:03)
Jun 4 09:57:01 asus (unbound_log.sh): 23799 Processed 0 reply_domains...
As unbound can be started manually some time after the boot process has seemingly quiesced, I suspect you may have multiple interfaces defined in 'unbound.conf' that cannot initially be resolved?Hi, I have permanent problem that S61unbound does not start unbound after WebUI router reboot - no ps.
When I ssh and do manual unbound_manager start it all goes smoothly.
Must be issue with Starting Script Execution (easy) - no further info than below.
Oh, and I tried with the WebUI setting ON/OFF to use unboud router DNS queries - any ideas?
Pixel server is started seperately, but overtakes unboundCode:Jun 4 09:51:43 asus unbound: [12433:0] info: service stopped (unbound 1.10.0). Jun 4 09:52:50 asus S61unbound: start Unbound DNS server (bypass dnsmasq) /opt/etc/init.d/S61unbound Jun 4 09:52:50 asus unbound: created br0:pixelserv-tls for 10.10.10.2 Jun 4 09:55:46 asus (unbound_manager.sh): 19698 Starting Script Execution (easy) Jun 4 09:55:47 asus (unbound_manager.sh): 19698 Warning unbound not running!! # rgnldo Github Version=v1.10 Martineau update (Date Loaded by unbound_manager Thu Jun 4 09:39:29 IST 2020) Jun 4 09:55:52 asus (unbound_manager.sh): 19698 Starting Script Execution (easy) Jun 4 09:55:54 asus (unbound_manager.sh): 19698 Warning unbound not running!! # rgnldo Github Version=v1.10 Martineau update (Date Loaded by unbound_manager Thu Jun 4 09:39:29 IST 2020) Jun 4 09:56:02 asus S61unbound: restart Unbound DNS server (bypass dnsmasq) /opt/etc/init.d/S61unbound Jun 4 09:56:04 asus unbound: [21231:0] info: start of service (unbound 1.10.0). Jun 4 09:56:05 asus (unbound_manager.sh): 19698 unbound cache RESTORED from '/opt/share/unbound/configs/cache.txt' (2020-06-04 05:15:03) Jun 4 09:57:01 asus (unbound_log.sh): 23799 Processed 0 reply_domains...
I assume that some process is competing and preventing execution. Go deactivating some and checking.any ideas?
Agreed, I used to see it easily climb into the 80%+ range (several weeks ago), but now it always hovers in the 60-63% range, regardless of how long it runs before a reboot (1 to 10 days).Three weeks ago, I had 96% cache hits. (during one week)
Then I rebooted my router.
Since one week, I only get 40%. Why?
I always surf the same pages.
Edit:
I have the feeling something is wrong with unbound.
I restartet my PC and reopend my browser with 42 tabs. I reloaded all tabs.
Cache hits is down to 39%
The only non-standard stuff I have are IPv6 interfacesAs unbound can be started manually some time after the boot process has seemingly quiesced, I suspect you may have multiple interfaces defined in 'unbound.conf' that cannot initially be resolved?
interface: ::1
interface: 2a02:dead:beef::1
if [ -z "$1" ] || [ "$1" != "stop" ]; then
ifconfig br0:pixelserv-tls $psIP up
logger -st unbound "created br0:pixelserv-tls for $psIP"
fi
export TZ=$(cat /etc/TZ)
ENABLED=yes
PROCS=pixelserv-tls
ARGS="$psIP $switches"
PREARGS=""
PRECMD=""
DESC="$PROCS (Unbound)"
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
ok thanks, let me play around with it - I can also dump a list of processes to see what's changingI assume that some process is competing and preventing execution. Go deactivating some and checking.
I have not observed this behaviour on my router - 10am is a reboot and then next day around 5am it refreshes adlock lists and binds them to pixelserv.Agreed, I used to see it easily climb into the 80%+ range (several weeks ago), but now it always hovers in the 60-63% range, regardless of how long it runs before a reboot (1 to 10 days).
I know there was some discussion of this a few weeks back, but it didn't seem to come to any conclusions as to why.
Apologies, I assumed you were still bypassing dnsmasq and probably migrated the dnsmasq interfaces. (Check /opt/share/unbound/configs/unbound.conf.localhosts')The only non-standard stuff I have are IPv6 interfaces
I can comment it out before next reboot and see what happens. Do you think there could be some issue with S80pixelserv-tls overtaking S61unbound and locking it out from br0 configuration?Code:interface: ::1 interface: 2a02:dead:beef::1
Code:if [ -z "$1" ] || [ "$1" != "stop" ]; then ifconfig br0:pixelserv-tls $psIP up logger -st unbound "created br0:pixelserv-tls for $psIP" fi export TZ=$(cat /etc/TZ) ENABLED=yes PROCS=pixelserv-tls ARGS="$psIP $switches" PREARGS="" PRECMD="" DESC="$PROCS (Unbound)" PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin . /opt/etc/init.d/rc.func
Is there a message in the unbound log? or have you used the 'unbound_manager' 'dig' command to identify the reason unbound seemingly fails to resolve a specific host?hmmm from one moment to another, my Unbound stopped working and i need to stop Unbound manually. Otherwise my Clients cant resolve a Host.
Is there a way to fully reset the Cache of Unbound ? maybe theres something faulty.
rs = Restart (or Start) unbound (use 'rs nocache' to flush cache)
/opt/etc/init.d/S61unbound restart
Three weeks ago, I had 96% cache hits. (during one week)
Then I rebooted my router.
Since one week, I only get 40%. Why?
I always surf the same pages.
Edit:
I have the feeling something is wrong with unbound.
I restartet my PC and reopend my browser with 42 tabs. I reloaded all tabs.
Cache hits is down to 39%
grep -E "cache-m..-ttl" /opt/var/lib/unbound/unbound.conf
Is there a message in the unbound log? or have you used the 'unbound_manager' 'dig' command to identify the reason unbound seemingly fails to resolve a specific host?
To flush the cache use
or manually restart unboundCode:rs = Restart (or Start) unbound (use 'rs nocache' to flush cache)
Code:/opt/etc/init.d/S61unbound restart
I do use still bypass dnsmasq. Is there any other diagnostics log than unbound.log?Apologies, I assumed you were still bypassing dnsmasq and probably migrated the dnsmasq interfaces. (Check /opt/share/unbound/configs/unbound.conf.localhosts')
So in lieu of providing any diagnostic logs, you will need to identify when/if unbound (S61unbound) is actually started in the boot sequence.
Did you already try commenting out the additional IPv6 interfaces? ... If an interface you specified in the unbound.conf is down then unbound wont start per this postI do use still bypass dnsmasq. Is there any other diagnostics log than unbound.log?
They are executed in lexographic order fron init.d as far as I understand
ip-freebind: <yes or no>
If yes, then use IP_FREEBIND socket option on sockets where
unbound is listening to incoming traffic. Default no. Allows
you to bind to IP addresses that are nonlocal or do not exist,
like when the network interface or IP address is down. Exists
only on Linux, where the similar ip-transparent option is also
available.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!