What's new

Unbound unbound_manager (Manager/Installer utility for unbound - Recursive DNS Server)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Unless you can cite documentation/metrics to substantiate your proposal, with all due respect I suggest you keep your dubious hints and tips in your own thread.
Saying "with all due respect" does not negate the "dubious" slight in the remainder of the sentence.

This is an open thread, where all can post. Some suggestions may be less helpful than others.Be kinder in your responses.
 
Just a question about unbound behavior. I've had an uptime of 9 days on the router, and I've collecting s+ stats during that time. In the script the unbound uptime is never over 24 hours. it looks like it resets around 5am.
Code:
Mar 13 05:00:25 RT-AC86U-AD98 S61unbound: Starting Unbound DNS server /opt/etc/init.d/S61unbound
Is this resetting the cache? I'm getting an average of around 65% hit rate. according to the stats report. Overall there has been a downward trend in the hit rate. Just wondering if this is operating correctly.
 
Just a question about unbound behavior. I've had an uptime of 9 days on the router, and I've collecting s+ stats during that time. In the script the unbound uptime is never over 24 hours. it looks like it resets around 5am.
Code:
Mar 13 05:00:25 RT-AC86U-AD98 S61unbound: Starting Unbound DNS server /opt/etc/init.d/S61unbound
Is this resetting the cache? I'm getting an average of around 65% hit rate. according to the stats report. Overall there has been a downward trend in the hit rate. Just wondering if this is operating correctly.
The adblock script restarts Unbound when it runs. I wonder if it would be less impactful to just run unbound-control reload?
 
Just a question about unbound behavior. I've had an uptime of 9 days on the router, and I've collecting s+ stats during that time. In the script the unbound uptime is never over 24 hours. it looks like it resets around 5am.
Code:
Mar 13 05:00:25 RT-AC86U-AD98 S61unbound: Starting Unbound DNS server /opt/etc/init.d/S61unbound
Is this resetting the cache? I'm getting an average of around 65% hit rate. according to the stats report. Overall there has been a downward trend in the hit rate. Just wondering if this is operating correctly.
This is a very good question, keep in mind that 60 to 65 percent seems pretty consistant with what I have seen with other users examples mine ranges from 60 to 79 percent. Your browsing habits also come into play with the cache if you are not a repetitive surfer(I.e go to different websites vs using the same) this can play a factor to this. Here is mine for the last 24 hours
Screenshot_20200313-155354136 (1).jpg
 
This is a very good question, keep in mind that 60 to 65 percent seems pretty consistant with what I have seen with other users examples mine ranges from 60 to 79 percent. Your browsing habits also come into play with the cache if you are not a repetitive surfer(I.e go to different websites vs using the same) this can play a factor to this. Here is mine for the last 24 hours
View attachment 21905

Mine quickly gets back to 93-94%. Must be all the google home devices pounding the same 4 domains. :)
 
The adblock script restarts Unbound when it runs.
The Diversion script or native unbound adblock? I'm using Diversion, w/stats.
 
Your browsing habits
Yeah, but wondering about that hit every 24 hours. Also, there was a period prior to some unbound_manager updates, see March 6-7, where it was doing better, could be an artifact of local use I guess.
Screen Shot 2020-03-13 at 8.40.38 AM.png
 
Yeah, but wondering about that hit every 24 hours. Also, there was a period prior to some unbound_manager updates, see March 6-7, where it was doing better, could be an artifact of local use I guess.
View attachment 21910

Built in adblock does update nightly and the restart does cause a hit drop.

This drop is temporary and likely has a negligible impact on your browsing.
 
@martinr & @Centrifuge
Your cache hits are kinda low. I get up to 98% in 24h. ~ 88.000 queries.

Care to share your unbound.conf file? My cache hits tend to be lower, and I do realize it depends on your own habits, but I'd like to tweak things if necessary for optimal effect.
 
Care to share your unbound.conf file? My cache hits tend to be lower, and I do realize it depends on your own habits, but I'd like to tweak things if necessary for optimal effect.
For all my interest in Unbound, I only ever see about a 10% hit rate. But I’m still happy.
 
The adblock script restarts Unbound when it runs. I wonder if it would be less impactful to just run unbound-control reload?
@Martineau, what do you think? Would a reload suffice? I think so, but would that cause a problem if I changed to use "unbound-control reload" during the install?

From my quick testing, a reload still causes a hit percentage to drop, and the cache file to drop in size. So, until we can confirm it is best to stay with restart.
 
I have posted v1.0.5 of the adblock script:

- Output a version header so it is clear what version you are running
- Cleaned up text and wording to be more consistent
- Added counters to the out for which file is being downloaded (ie. downloading list 1 of 3) - Thank you @SomeWhereOverTheRainBow
- Added support for hosts or domain files which include # comments after the domain name - Thank you again @SomeWhereOverTheRainBow

An Example of this is https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt

This requires you to use the "i" command in unbound_manager to download the latest file.
 
@Martineau, what do you think? Would a reload suffice? I think so, but would that cause a problem if I changed to use "unbound-control reload" during the install?

From my quick testing, a reload still causes a hit percentage to drop, and the cache file to drop in size. So, until we can confirm it is best to stay with restart.
It was more a suggestion to keep the uptime from resetting. You’d still want to dump and save the cache during a reload.
 
Care to share your unbound.conf file? My cache hits tend to be lower, and I do realize it depends on your own habits, but I'd like to tweak things if necessary for optimal effect.
I havn't configured anything special.
I just install unbound via unbound_manager, chose the "tweak my settings" (or something like that) and let it run.
That's all.
 
It was more a suggestion to keep the uptime from resetting. You’d still want to dump and save the cache during a reload.

Ya, it is a good idea, but I find that dumping and reloading the cache seems to cause a hit percentage drop. My guess, although not researched yet, is that when you dump and reload all the "expired" entries get dropped. And unbound is configured to use expired entries and do a background update to keep things fast, but this would see a short hit after reload.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top