Comments (13)
@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.
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.
@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.
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.
@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.
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.
tried to delete service dns forwarding blacklist domains include adomain.com
commit;save;exit;reboot and no luck. still does not work :(
from blacklist.
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.
do i need to configure this ? https://github.com/britannic/blacklist#how-do-i-configure-dnsmasq
from blacklist.
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.
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.
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.
@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)
- can´t commit HOT 1
- Problem with booting without present internet connection HOT 5
- Debian repo is inaccessible HOT 2
- Cannot allocate memory when using a large number of hosts HOT 2
- `/etc/init.d/dnsmasq restart` failed when trying to whitelist HOT 1
- Blocks Slack attachments HOT 1
- bug + github page mismatch ? HOT 1
- Commit local blacklist file without Internet access? HOT 1
- Remove ads from youtube app on TV HOT 1
- Add support for ERPro-8 / ER-8 HOT 2
- Installation error HOT 2
- troubleshooting HOT 1
- 'The specified configuration node is not valid' when setting global domain HOT 1
- dlb.oisd.nl certificate issue HOT 1
- No config files in /etc/dnsmasq.d after apt install HOT 2
- FAQ Cleanup suggestion HOT 1
- Time for an update build? HOT 3
- Re-order/number release list HOT 1
- Compatibility Typo HOT 1
- githubSteveBlack host file instructions, double quote error on ER4 v2.0.9-hotfix.6. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blacklist.