Coder Social home page Coder Social logo

Comments (13)

britannic avatar britannic commented on June 1, 2024

@lexer98, please explain what you mean by "reset". FYI, the config integration tree directories aren't persisted with a hard (factory) reset, but will persist over reboots. If the blacklisting isn't already reinstalled automatically (see this repo for a solution) after a reset or upgrade, any blacklisting configuration will be lost.

from blacklist.

lexer98 avatar lexer98 commented on June 1, 2024

Sorry my english is not very good. I mean "Reboot" not reset, the adblock works perfect with the default setting when I try to add a hosts.txt or make any modification after a reboot the ad blocking stop working.
I upgraded to 1.10.9 and still have the same problem

from blacklist.

britannic avatar britannic commented on June 1, 2024

@lexer98, are you saving your configuration? Here's an example of how to do that:

configure
set service dns forwarding blacklist exclude cdn.visiblemeasures.com
set service dns forwarding blacklist include www.nastywebsites.com
commit
save
exit

If the configuration isn't saved and only committed, it won't persist after a reboot.

from blacklist.

lexer98 avatar lexer98 commented on June 1, 2024

Yes, but the configuration no only not persist also the default setting don't work anymore.
This is what I do

Login to SSH
configure
set service dns forwarding blacklist domains include javhd.com
commit
save
exit
exit
reboot - The changes don't apply instantly so I try to reboot and then nothing works

from blacklist.

britannic avatar britannic commented on June 1, 2024

@lexer98, since the changes aren't applying immediately, then you have an issue with the configuration. Rebooting won't fix issues with configuration. Recommend you post a description of your issue and configuration at: Ubiquiti Community

from blacklist.

blastik avatar blastik commented on June 1, 2024

FYI @britannic this issue happened exactly to me. i did set service dns forwarding blacklist domains include adomain.com commiting saving... and all the sudden no ads were blocked any longer. tried to restart, no luck.
log shows:

ubnt@EdgeRouter-X-5-Port:/etc/dnsmasq.d$ tail /var/log/update-dnsmasq.log
INFO[004]2021-04-21 09:18:35.488: blacklisted-subdomains: extracted: 1
INFO[005]2021-04-21 09:18:35.488: blacklisted-subdomains: dropped: 0
INFO[006]2021-04-21 09:18:35.504: whitelisted-subdomains: downloaded: 1
INFO[007]2021-04-21 09:18:35.505: whitelisted-subdomains: extracted: 1
INFO[008]2021-04-21 09:18:35.505: whitelisted-subdomains: dropped: 0
NOTI[009]2021-04-21 09:18:35.515: Total entries found: 2
NOTI[00a]2021-04-21 09:18:35.515: Total entries extracted 2
NOTI[00b]2021-04-21 09:18:35.515: Total entries dropped 0
INFO[00c]2021-04-21 09:18:36.035: Successfully restarted dnsmasq
NOTI[00d]2021-04-21 09:18:36.036: Blacklist update completed......
ubnt@EdgeRouter-X-5-Port:/etc/dnsmasq.d$ sudo /config/scripts/update-dnsmasq -v
NOTI[001]09:23:47.601: Starting blacklist update...
INFO[002]09:23:47.637: Checking for stale blacklists...
INFO[003]09:23:47.657: blacklisted-subdomains: downloaded: 1
INFO[004]09:23:47.658: blacklisted-subdomains: extracted: 1
INFO[005]09:23:47.659: blacklisted-subdomains: dropped: 0
INFO[006]09:23:47.676: whitelisted-subdomains: downloaded: 1
INFO[007]09:23:47.677: whitelisted-subdomains: extracted: 1
INFO[008]09:23:47.677: whitelisted-subdomains: dropped: 0
NOTI[009]09:23:47.687: Total entries found: 2
NOTI[00a]09:23:47.688: Total entries extracted 2
NOTI[00b]09:23:47.689: Total entries dropped 0
INFO[00c]09:23:48.600: Successfully restarted dnsmasq
NOTI[00d]09:23:48.601: Blacklist update completed......
ubnt@EdgeRouter-X-5-Port:/etc/dnsmasq.d$ sudo /config/scripts/update-dnsmasq -version
 Build Information:
   Version:			1.2.4.5
   Date:			2020-11-21T202115
   CPU:				mipsle
   OS:				linux
   Git hash:			74a59cd

from blacklist.

blastik avatar blastik commented on June 1, 2024

tried to delete service dns forwarding blacklist domains include adomain.com commit;save;exit;reboot and no luck. still does not work :(

from blacklist.

blastik avatar blastik commented on June 1, 2024
 blacklist {
     disabled false
     dns-redirect-ip 0.0.0.0
     domains {
         exclude concierge.analytics.console.aws.a2z.com
     }
 }
 cache-size 150
 listen-on switch0

from blacklist.

blastik avatar blastik commented on June 1, 2024

do i need to configure this ? https://github.com/britannic/blacklist#how-do-i-configure-dnsmasq

from blacklist.

blastik avatar blastik commented on June 1, 2024

ok i did all the steps see my current conf:

ubnt@EdgeRouter-X-5-Port# show service dns forwarding
 blacklist {
     disabled false
     dns-redirect-ip 0.0.0.0
     domains {
         exclude concierge.analytics.console.aws.a2z.com
     }
 }
 cache-size 2048
 except-interface pppoe0
 name-server 1.1.1.1
 name-server 1.0.0.1
 options bogus-priv
 options enable-ra
 options expand-hosts
 options localise-queries
 options strict-order
 system
ubnt@EdgeRouter-X-5-Port# show system name-server
name-server 127.0.0.1
name-server ::1

still no luck

from blacklist.

blastik avatar blastik commented on June 1, 2024

ok so i fixed it by uninstalling.
in my case i've had configured this so i didnt need to do anything else to install it back. after a reboot adblocking was again working for me.

from blacklist.

britannic avatar britannic commented on June 1, 2024

ok i did all the steps see my current conf:

ubnt@EdgeRouter-X-5-Port# show service dns forwarding
 blacklist {
     disabled false
     dns-redirect-ip 0.0.0.0
     domains {
         exclude concierge.analytics.console.aws.a2z.com
     }
 }
 cache-size 2048
 except-interface pppoe0
 name-server 1.1.1.1
 name-server 1.0.0.1
 options bogus-priv
 options enable-ra
 options expand-hosts
 options localise-queries
 options strict-order
 system
ubnt@EdgeRouter-X-5-Port# show system name-server
name-server 127.0.0.1
name-server ::1

still no luck

@blastik, for future reference, your configuration as posted above, didn't have any ad-blocking sources, so no IP redirects would have occurred.

from blacklist.

blastik avatar blastik commented on June 1, 2024

@britannic for the record. i know that no ad-blocking sources were in the output but thats they way i found it. i havent really do anything that could make this impact. in fact it happened to me again after upgrading to the latest firmware.
im pretty sure there is a bug around but anyway i got it working again. just that i have to uninstall everything and install it again :(

from blacklist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.