What's new

Unbound - Authoritative Recursive Caching 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!

Status
Not open for further replies.
v2.00 uploaded, and will unfortunately require a tedious upgrade process due to the external restrictions imposed. :oops:

Apologies, can you all please uninstall v1.2x using option
Code:
z  = Remove Existing unbound Installation 

e  = Exit Script

A:Option ==> z
Now download v2.00
Code:
mkdir /jffs/addons 2>/dev/null;mkdir /jffs/addons/unbound 2>/dev/null; curl --retry 3 "https://raw.githubusercontent.com/MartineauUK/Unbound-Asuswrt-Merlin/master/unbound_manager.sh" -o "/jffs/addons/unbound/unbound_manager.sh" && chmod 755 "/jffs/addons/unbound/unbound_manager.sh" && /jffs/addons/unbound/unbound_manager.sh
You will now need to immediately uninstall v2.00
Code:
z  = Remove Existing unbound Installation 

e  = Exit Script

A:Option ==> z
as this ensures the legacy v1.2x environment is completely removed.

Now reinstall v2.00

Apologies for the inconvenience.
 
Good day everyone, I'm getting some errors on the about section of unbound. I only use logging from the intial setup. Is it my configuration or something went wrong somewhere.I'm also getting an error when trying to run the l command ( unbound logging '/opt/var/lib/unbound/' NOT ENABLED?)
A:Option ==> ?

Version=1.28
Local md5=3d48043274ddc51416f6a4b419e0c951
Github md5=3d48043274ddc51416f6a4b419e0c951
/jffs/scripts/unbound_manager.md5 md5=128 3d48043274ddc51416f6a4b419e0c951

Router Configuration recommended pre-reqs status:

[✔] Swapfile=262140 kB
[✔] DNS Filter=ON
[✔] DNS Filter=ROUTER
[✔] WAN: Use local caching DNS server as system resolver=NO
[✔] Enable local NTP server=YES
[✔] Enable DNS Rebind protection=NO
[✔] Enable DNSSEC support=NO

Options:

[✔] unbound Logging
[✔] Stubby Integration
/opt/bin/unbound_manager: line 2085: can't open /opt/var/lib/unbound/adblock/adservers: no such file
/opt/bin/unbound_manager: line 2085: can't open /opt/var/lib/unbound/adblock/blockhost: no such file
/opt/bin/unbound_manager: line 2085: can't open /opt/var/lib/unbound/adblock/permlist: no such file
[✔] Ad and Tracker Blocking (No. of Adblock domains=,Blocked Hosts=,Whitelist=, - Warning Diversion is also ACTIVE)
[✔] Firefox DNS-over-HTTPS (DoH) DISABLE/Blocker

see v2.00 Release

Hopefully this will resolve your issues.
 
Ok. Did as advised most of the errors are gone except these two:
1.
A:Option ==> l

unbound NOT installed! - option not available
2.
A:Option ==> s+

unbound NOT installed! - option not available

P.S. Much appreciated for looking into this.

Yes, same error here.....
 
Ok. Did as advised most of the errors are gone except these two:
1.
A:Option ==> l

unbound NOT installed! - option not available
2.
A:Option ==> s+

unbound NOT installed! - option not available

P.S. Much appreciated for looking into this.


+1

Command “unbound_manager” returns “not found”.

Unbound appears to be actually working though.
 
+1

Command “unbound_manager” returns “not found”.

Unbound appears to be actually working though.

Likewise, same error here.....
 
I have to run the following to get the manager to load

/jffs/addons/unbound/unbound_manager.sh
 
V2 is going to need some "cleaning up" :)
 
Hard to tell how well it's running when you can not view any stats...... ;)
 
temporary fix:

Login into router

nano /jffs/configs/profile.add

Add the following at end of the profile.add file

alias unbound_manager="sh /jffs/addons/unbound/unbound_manager.sh"

Do a control o to save the modifications
Do a control x to exit out of nano
log out and log back in
now the unbound_manager should run from anywhere
 
@Smokey613 I tried the temporary fix above and can start with unbound_manager from anywhere.

However, when inside the unbound_manager menu, 's' still insists that unbound is not installed.

I have rebooted the router and also restarted unbound too (@Jack Yaz, could this be considered as a possible addition to scMerlin? :) ), but still have the same issue.

Code:
/opt/etc/init.d/S61unbound restart

(Because right now I can't use the 'rs' method inside of unbound_manager).

I am using ntpMerlin, by @Jack Yaz instead of the built-in firmware, local NTP server, seemingly without issues.

I am also using the Auth-zone (root zone, AXFR speedup) option too.

https://www.snbforums.com/threads/u...-caching-dns-server.58967/page-36#post-542322

However, I do use the Wan: Use local caching DNS server as system resolver (default: No) set to Yes. Otherwise, amtm and unbound (and any other script I try) seems to be slow as molasses.

Do any of the above interfere?

Maybe I need to do a full M&M Config too? :)
 
Just upgraded 2.0 to 2.01 and selected option "i". Received this error:
dos2unix: can't move '/jffs/addons/unbound/stuningKS0qWc' to '/jffs/addons/unbound/stuning': Is a directory

UPDATE: Disregard. I had changed permissions for the unbound folders while troubleshooting... Deleted everything after a clean uninstall and now everything is working!
 
Last edited:
Just upgraded 2.0 to 2.01 and selected option "i". Received this error:
dos2unix: can't move '/jffs/addons/unbound/stuningKS0qWc' to '/jffs/addons/unbound/stuning': Is a directory

The script doesn't use/create a suffix for 'stuning' so no idea where 'KS0qWc' originates from unless the rgnldo's GitHub download failed? o_O

upload_2020-1-30_20-5-35.png


I suggest

1. Logout of the SSH session then log back in and retry.
2. If the above doesn't work REBOOT
3. Check the USB....you could rename '/jffs/addons/unbound' to '/jffs/addons/unboundX' then reinstall v2.01
 
The script doesn't use/create a suffix for 'stuning' so no idea where 'KS0qWc' originates from unless the rgnldo's GitHub download failed?
It's a temporary internal name given by dos2unix during conversion. Seems like it can't rename it to the original filename afterward. Weird.
 
Edit: should I remove the 'temporary fix' I implemented from @Smokey613?
Yes.

i.e. if you perform the uninstall using v2.01, then it should now explicitly delete the alias (previously it didn't), subsequently it should recreate the alias in '/opt/bin'.
 
Status
Not open for further replies.

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