Adblock support thread

just something i wanted to report

If you add a domain to the whitelist and the blocklist the following error occurs, and the UI doesnt reflect this

Mar  3 22:42:06 OpenWrt adblock-4.1.5[15830]: blocklist with overall 191167 blocked domains loaded successfully (Linksys WRT1900ACS, OpenWrt 22.03.0 r19685-512e76967f)
Mar  3 22:42:13 OpenWrt named[15953]: dns_master_load: /var/lib/bind/adb_list.overall:329364: domain.tld.rpz: multiple RRs of singleton type
Mar  3 22:42:13 OpenWrt named[15953]: zone rpz/IN: loading from master file /var/lib/bind/adb_list.overall failed: multiple RRs of singleton type
Mar  3 22:42:13 OpenWrt named[15953]: zone rpz/IN: not loaded due to errors.

Please provide your adblock config, too.

config adblock 'global'
	option adb_enabled '1'
	option adb_debug '0'
	option adb_forcedns '0'
	option adb_safesearch '0'
	option adb_dnsfilereset '0'
	option adb_mail '0'
	option adb_backup '1'
	option adb_dns 'named'
	option adb_fetchutil 'wget'
	option adb_tmpbase '/tmp.d'
	option adb_backupdir '/tmp.d/blocklist_backup'
	option adb_repiface 'br-lan'
	option adb_report '1'
	list adb_sources 'adaway'
	list adb_sources 'adguard'
	list adb_sources 'adguard_tracking'
	list adb_sources 'android_tracking'
	list adb_sources 'andryou'
	list adb_sources 'anti_ad'
	list adb_sources 'antipopads'
	list adb_sources 'disconnect'
	list adb_sources 'openphish'
	list adb_sources 'phishing_army'
	list adb_sources 'smarttv_tracking'
	list adb_sources 'winspy'
	list adb_sources 'yoyo'

Hey @dibdot! I noticed a while back that one of the lists I maintain is included as an option in the AdBlock package, which is awesome. I'm not a big forum guy, but I figured it would probably be a good idea to mention that I produce TLD-compressed variants of my lists. It appears that you're using my plain domains blacklist, so here's the URL for the compressed version:

Lists of mine which are optimized in such a fashion are run through an additional set of exclusion patterns to ensure that my primary whitelist is properly applied to them, so switching over to that URL in the adblock.sources file would be a win-win (more efficient, and less manual whitelisting work for users).

Many thanks for maintaining this vital software. Your adblock package - and the simple-adblock package (maintained by @stangri) - have been immensely valuable to me since I first started running OpenWrt.


OpenWrt 22.03: DNS hijacking firewall rules added by adblock only apply to IPv4 DNS. DNS requests via IPv6 pass through normally.

E.g. dig @2001:4860:4860::8844 goes directly to Google's IPv6 DNS server.


Add rules with explicit ipv6 family specification:

config redirect 'adblock_lan53_ipv6' <------ this one
	option name 'Adblock DNS (IPv6, lan, 53)' <------ this one
	option src 'lan'
	option proto 'tcp udp'
	option src_dport '53'
	option dest_port '53'
	option family 'ipv6' <------ this one
	option target 'DNAT'
1 Like

Probably it's easier to use option family 'any' since corrections were made to expose family configuration in Forwards of luci-app-firewall.

Thanks, I'll take a look with the next update.

@dibdot Could you please add the possibility to input links for custom lists? That would make the extension more versatile.

1 Like

Muchas gracias!

@bongochong @timur.davletshin @kimboslice

your issues were fixed in 4.1.5-7

adblock: update to 4.1.5-7

  • fix cornercase issue with duplicate entries in black- and whitelist
  • change cpbl source URL
  • firewall redirects now blocks IPv4 and IPv6 (set family to "any")
5 Likes is blocked. I tried to whitelist with:* and

Don't add any slashes, just the domain


For your scenario, just use:


Great, thank you very much, after a long time searching for the cause, this one did the trick.

Hi there, I've been running adblock successfully for years, but have recently been unable to load the DNS Report view. Luci shows " SyntaxError: JSON.parse: end of data when property name was expected at line 423 column 1 of the JSON data". This occurs even if I deselect all blocklist sources, save, and refresh. Ad blocking itself seems to run fine. Any suggestions for diagnosing or fixing this?

Just experienced something strange. Was unable to get to an site and drilling down, it was flagged by

+ adb_list.openphish.gz

Looking at that list, it had entries for 

but was blocking anything that had as the domain.

Is this an issue with the way openphish is formatting their list or in the way Adblock breaks it down or something else?

Adblock works by blocking whole domains, so your list is blocking all of Everything after that in the URL is of no consequence, as it's just the document location on the domain host.

So using openphish list as it is currently presents a problem.

You could add that one domain to the adblock whitelist, which would allow it through. I've had to do that on to let it through...

I had the same problem, so when I checked the actual openphish it contains the main as part of their blocklist.

I just disabled openphish on mine hahaha