I want to force my laptop (Wi-Fi connected to the router) to use Adblock even when the DNS is manually set to (8.8.8.8) in the laptop, isn't "Force Local DNS" supposed to do the job ? then why it's not working for me ? (Pictures below show my settings)
If Adblock has failed to load blocklist sources after a weekly timed reload or a router reboot (for example no internet was there during the reload/reboot), how can I ask Adblock to try reload again every 1 hour until sources are successfully loaded ?
Failed reload example (router reboot with no internet):
Yes I know this issue happens -of course- when I reboot or reload Adblock during an outage in the internet service from my ISP, that's why I'm asking for a command for Adblock to reload the sources (once the internet is back, your suggestion is great), I don't want to manually reload Adblock
Yes "Blocklist Backup" is ticked, why it's not working? (I still see ads everywhere).
3)So, can you please (if you have time) or anyone write me a script for Adblock to reload when there is internet, and where should I paste it! (Sorry for looking dumb, I'm not a programmer🥺)
Is that a bug in Adblock package ? I just ticked "Force Local DNS" and the rules where automatically added to the firewall. I will check later if I can be smart enough to do what you said.
I don't know , it's automatically created by Adblock. I just use my laptop and few smartphones for casual browsing, and I have a PS4.
And I think it is working...call me weird, but I think it finds 0 domains to block because of no blocklists...because of no Internet...you can always ask in the support thread.
Sorry to confuse you, may be I didn't clarify well.
The two problems "Local DNS" & "Reload script I'm asking for" are separated.
First problem:
Adblock works well without any problems (~41000 domains blocked) when the laptop DNS is set to router IP Address. However, the laptop (and also my smartphone) show ads when DNS is manually set to 8.8.8.8 with "Force Local DNS" ticked and firewall rules above created.
Second problem (not related to the first one):
When I deliberately shut my internet service (entering a wrong pppoe password) and reboot the router, adblock load 0 domains, until manual reload with internet service.
I'm asking for a script to let adblock reload when the internet is back. Or at least fix the backup issue.
I wanted the OP to defer to you. I've actually had no need to enable the setting and realized I may not be seeing the whole rule from the screenshot. My bad.
My [incorrect] understanding was the rule intercepted traffic to the router, not forward.
Ummm...I did tell you. You need a computer (or SSH client) to connect to the router's command line. That's why I showed you its location on the web GUI instead.
Can't I use /etc/adblock instead of a usb stick ? I don't have a usb slot in my Archer C20 V4
anyway I set Backup Directory to /etc/adblock as @vgaetera suggested, but still backup not working, blocked domains returned to 0 from ~41000 when I rebooted my router with wrong PPPoE password.
I personally would not use a flash directory (wear leveling), just keep the default then.
In case of an error (in your case) adblock removes all possibly broken backups and intermediate files. Check the logs to find the root cause of this error ... and please define a trigger for your pppoe interface.