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.
After removing this script (uninstalling) I have no access to internet without defining specific DNS servers. Can't use my ISP DNS servers and must turn on DNS Filtering to route all devices via DNS servers I specified! What happened?
 
After removing this script (uninstalling) I have no access to internet without defining specific DNS servers. Can't use my ISP DNS servers and must turn on DNS Filtering to route all devices via DNS servers I specified! What happened?
Clean out /jffs/scripts/dnsmasq.postconf and/or /jffs/configs/dnsmasq.conf.add
 
only reboot
 
Clean out /jffs/scripts/dnsmasq.postconf and/or /jffs/configs/dnsmasq.conf.add
They are clean . :\ very strange... I did reboot after uninstall and it didn't work
 
Last edited:
They are clean . :\ very strange
Code:
IMPORTANT: It is recommended to REBOOT in order to complete the removal of unbound
             You will be asked to confirm BEFORE proceeding with the REBOOT

             rs = Restart (or Start) unbound                                         s  = Display unbound statistics (s=Summary Totals; sa=All)

             e  = Exit Script

             Option ==> 2

             IMPORTANT: It is recommended to REBOOT in order to complete the removal of unbound
                          You will be asked to confirm BEFORE proceeding with the REBOOT

             y = Are you sure you want to uninstall unbound?
             n = Cancel
             e = Exit Script

             Option ==> y

             Uninstalling unbound
             Removing firewall rules
             KILLing unbound PID=1965
             Removing Ad and Tracker Update cron job
             Existing unbound package found. Removing unbound
             Removing package unbound-control-setup from root...
             Removing package unbound-control from root...
             Removing package unbound-anchor from root...
             Removing package unbound-daemon from root...
             unbound Entware packages 'unbound-control-setup unbound-control unbound-anchor unbound-daemon' successfully installed
             /opt/var/lib/unbound/adblock folder and all files removed
             /opt/var/lib/unbound folder and all files removed
             No files found to remove in /opt/etc/unbound
             /opt/etc/unbound folder and all files removed
             Removing unbound installer directives from 'dnsmasq.postconf'

                     Uninstall of unbound completed.

             The router will now REBOOT to finalize the removal of unbound
             After the REBOOT, review the DNS settings on the WAN GUI and adjust if necessary

             Press Y to REBOOT  or press ENTER to ABORT
 
Clean out /jffs/scripts/dnsmasq.postconf and/or /jffs/configs/dnsmasq.conf.add
If you do not choose to reboot, launch
Code:
service restart_dnsmasq
Code:
ls /jffs/configs/
.
Code:
cat /jffs/scripts/dnsmasq.postconf
#!/bin/sh
 
They are clean . :\ very strange... I did reboot after uninstall and it didn't work
Script is working correctly. Rebooting is preferable if you have opted for more features.
 
Script is working correctly. Rebooting is preferable if you have opted for more features.
Erm...:oops:

….actually, just in case the user does not reboot immediately after uninstalling unbound, the script does (silently) restart dnsmasq, however, it performs it after removing any unbound entries from 'dnsmasq.conf.add' but before removing the unbound entries from 'dnsmasq.postconf'

However, as you state, a REBOOT would fully honour the dnsmasq re-configuration.

Pushed v1.14 to correct this, and verbosely indicate that dnsmasq has been restarted.

Code:
Option ==> 2

IMPORTANT: It is recommended to REBOOT in order to complete the removal of unbound
             You will be asked to confirm BEFORE proceeding with the REBOOT
y = Are you sure you want to uninstall unbound?
n = Cancel
e = Exit Script

Option ==> y

Uninstalling unbound
Removing firewall rules
KILLing unbound PID=5735
Removing Ad and Tracker Update cron job
Existing unbound package found. Removing unbound
Removing package unbound-control-setup from root...
Removing package unbound-control from root...
Removing package unbound-anchor from root...
Removing package unbound-daemon from root...
unbound Entware packages 'unbound-control-setup unbound-control unbound-anchor unbound-daemon' successfully installed
/opt/var/lib/unbound/adblock folder and all files removed
/opt/var/lib/unbound folder and all files removed
No files found to remove in /opt/etc/unbound
/opt/etc/unbound folder and all files removed
Removing unbound installer directives from 'dnsmasq.postconf'
Restarting dnsmasq.....

    Uninstall of unbound completed.

The router will now REBOOT to finalize the removal of unbound
After the REBOOT, review the DNS settings on the WAN GUI and adjust if necessary

Press Y to REBOOT  or press ENTER to ABORT
 
Last edited:
Erm...:oops:

….actually, just in case the user does not reboot immediately after uninstalling unbound, the script does (silently) restart dnsmasq, however, it performs it after removing any unbound entries from 'dnsmasq.conf.add' but before removing the unbound entries from 'dnsmasq.postconf'

However, as you state, a REBOOT would fully honour the dnsmasq re-configuration.

Pushed v1.14 to correct this, and verbosely indicate that dnsmasq has been restarted.

Code:
Option ==> 2

IMPORTANT: It is recommended to REBOOT in order to complete the removal of unbound
             You will be asked to confirm BEFORE proceeding with the REBOOT
y = Are you sure you want to uninstall unbound?
n = Cancel
e = Exit Script

Option ==> y

Uninstalling unbound
Removing firewall rules
KILLing unbound PID=5735
Removing Ad and Tracker Update cron job
Existing unbound package found. Removing unbound
Removing package unbound-control-setup from root...
Removing package unbound-control from root...
Removing package unbound-anchor from root...
Removing package unbound-daemon from root...
unbound Entware packages 'unbound-control-setup unbound-control unbound-anchor unbound-daemon' successfully installed
/opt/var/lib/unbound/adblock folder and all files removed
/opt/var/lib/unbound folder and all files removed
No files found to remove in /opt/etc/unbound
/opt/etc/unbound folder and all files removed
Removing unbound installer directives from 'dnsmasq.postconf'
Restarting dnsmasq.....

    Uninstall of unbound completed.

The router will now REBOOT to finalize the removal of unbound
After the REBOOT, review the DNS settings on the WAN GUI and adjust if necessary

Press Y to REBOOT  or press ENTER to ABORT
A firewall restart would be necessary if ever enabling the redirect.
 
A firewall restart would be necessary if ever enabling the redirect.
Well the script still contains the (unused) 'Redirect_outbound_DNS_requests()' function which only deletes the two redirect rules it implemented, so whilst it may be prudent, but simply deleting the redirect rules seemed to suffice without a disruptive firewall restart?
 
I have a quick question that has been talked about but that I don't see a specific answer to: If I do not have stubby installed (as a script) but am using DoT in Merlin, should I integrate stubby in the setup? Also, while I'm asking, since I'm using diversion, should I use/install ad/tracker blocking or leave that to diversion?

Thanks.
 
Well the script still contains the (unused) 'Redirect_outbound_DNS_requests()' function which only deletes the two redirect rules it implemented, so whilst it may be prudent, but simply deleting the redirect rules seemed to suffice without a disruptive firewall restart?
Right. It turns out that applying IPTABLES rules runs the risk of compatibility with future releases of FW Merlin. Prudently, DNSFILTER is sufficient.
 
Status
Not open for further replies.

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