problem DNSMasq adblocking Via egc script oisd error

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 813
Location: Earth

PostPosted: Thu Oct 23, 2025 12:12    Post subject: problem DNSMasq adblocking Via egc script oisd error Reply with quote
DNSMasq adblocking Via egc script

I've noticed for some time that the small.oisd.nl/dnsmasq2 fails with ERROR?
Any ideas as to why this is happening?
I am able to download from the url

Code:
adblock: ERROR: small.oisd.nl/dnsmasq2


What other lists are you guys using?
currently using: raw.githubusercontent.com/hagezi/dns-blocklists/main/dnsmasq/pro.txt

Added: I've downloaded the small.oisd.nl/dnsmasq2 list and hosted it locally on a server to test it, its seems to run fine locally, but seems to have 1 rouge element
Code:
adblock: Rogue element: line 222526: local=/zzzmjfixezere.site/local=/eualarm.hik-online.com/ identified in new blocklist
adblock: Removing offending line: 222526: local=/zzzmjfixezere.site/local=/eualarm.hik-online.com/
sed: unsupported command z
dnsmasq: syntax check OK


would this rogue element stop it downloading normally?

MYBLACKLIST=' eualarm.hik-online.com is 1st line
u.mokexapp.co is on 2nd line

After removing what I thought were the rouge elements from above in my locally hosted test list, which was in fact the bottom url in the list, and the top 1 in MYBLACKLIST it's now showing the last one again as a rogue element and the top u.mokexapp.co very confused?

Code:
adblock: Rogue element: line 47184: local=/zzzjhkyprpsvl.store/local=/u.mokexapp.co/ identified in new blocklist
adblock: Removing offending line: 47184: local=/zzzjhkyprpsvl.store/local=/u.mokexapp.co/
sed: unsupported command z
dnsmasq: syntax check OK


** Please note line numbers are different because I removed the raw.githubusercontent.com/hagezi/dns-blocklists/main/dnsmasq/pro.txt

_________________
Main Router: Dynalink WRX36, PPPoE, Gateway Mode, Network IPV4 - Isolated Vlan's. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. Paid Commercial Wireguard Client's & WG server, DNSMasq, Static Leases with Quad9 SmartDNS, DNSMasq Adblocking thanks to egc script.

No one can build you the bridge on which you, and only you, must cross the river of life!
Sponsor
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 813
Location: Earth

PostPosted: Thu Oct 23, 2025 14:54    Post subject: Reply with quote
Given up with oisd, it keeps giving some sort of rouge element error, back to hagezi for now, hopefully someone can say what's going on with it?
_________________
Main Router: Dynalink WRX36, PPPoE, Gateway Mode, Network IPV4 - Isolated Vlan's. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. Paid Commercial Wireguard Client's & WG server, DNSMasq, Static Leases with Quad9 SmartDNS, DNSMasq Adblocking thanks to egc script.

No one can build you the bridge on which you, and only you, must cross the river of life!
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16756
Location: Texas, USA

PostPosted: Sat Oct 25, 2025 20:34    Post subject: Reply with quote
All the lists at https://oisd.nl/setup/dnsmasq seem to be current (including dnsmasq2). There may be another issue involved, like the list being parsed wrong or the uploaded file is corrupt on their site.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 7090
Location: UK, London, just across the river..

PostPosted: Sun Oct 26, 2025 13:44    Post subject: Reply with quote
http://sbc.io/hosts/hosts

or

https://someonewhocares.org/hosts/zero/hosts


i used those, never had issues, now i use my own 'kind of'...as sometimes those from internet, interfere with some stuff and its not easy to find what to exclude...where in dnscrypt it has its own log to check...as far as i also remember, even dnsmasq has its own limits and there ware moments where it will ignore some of the list entries.. dlded from some domains...

with DNScrypt-proxv2 i use some of the stuff from here and my own list... Cool

https://download.dnscrypt.info/blocklists/domains/mybase.txt

_________________
Atheros
TP-Link WR1043NDv2 -DD-WRT 62606 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 -DD-WRT 63600 GTW/SmDNS/DoT,AD-Blk,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 62606 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla,VPN cli
Netgear R9000 --DD-WRT 62606 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 62606
Broadcom
Netgear R7000 --DD-WRT 63600 GTW/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN cli
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 813
Location: Earth

PostPosted: Sun Oct 26, 2025 22:56    Post subject: Reply with quote
Thanks for your reply's
The oisd GitHub address for anyone wanting to look:-
https://github.com/sjhgvr/oisd
@Alozaros, thanks buddy, but those look like a different format to dnsmasq2, are they for smartdns adblocking? I've never used smartdns for adblocking because I use smartdns for my dns I thought dnsmasq would be better suited, not sure if that's a correct assumption or not.
my dnsmasq lists start like: local=/domain.com/
Yes, I have also hosted locally in the past when I've found an issue, until online list is fixed, easy way to edit to how you want.
Currently using the https://raw.githubusercontent.com/hagezi/dns-blocklists/refs/heads/main/dnsmasq/ultimate.txt without any issues.
just odd how oisd stopped working a while ago, just assumed other forum users would have come across this issue.
I assume KP is correct that the issue is some parse issue.

_________________
Main Router: Dynalink WRX36, PPPoE, Gateway Mode, Network IPV4 - Isolated Vlan's. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. Paid Commercial Wireguard Client's & WG server, DNSMasq, Static Leases with Quad9 SmartDNS, DNSMasq Adblocking thanks to egc script.

No one can build you the bridge on which you, and only you, must cross the river of life!
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 7090
Location: UK, London, just across the river..

PostPosted: Mon Oct 27, 2025 9:14    Post subject: Reply with quote
foz111 wrote:

@Alozaros, thanks buddy, but those look like a different format to dnsmasq2, are they for smartdns adblocking? I've never used smartdns for adblocking because I use smartdns for my dns I thought dnsmasq would be better suited, not sure if that's a correct assumption or not.
my dnsmasq lists start like: local=/domain.com/.......


hmm in my case dnsmasq list is using a different format ...that has been incorporated in most of all the Adblock scripts i have around...

0.0.0.0 010sec.com
0.0.0.0 01mspmd5yalky8.com

i believe, it should be working with both formats unless something changed and i missed it... Cool

_________________
Atheros
TP-Link WR1043NDv2 -DD-WRT 62606 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 -DD-WRT 63600 GTW/SmDNS/DoT,AD-Blk,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 62606 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla,VPN cli
Netgear R9000 --DD-WRT 62606 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 62606
Broadcom
Netgear R7000 --DD-WRT 63600 GTW/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN cli
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
SurprisedItWorks
DD-WRT Guru


Joined: 04 Aug 2018
Posts: 1577
Location: Appalachian mountains, USA

PostPosted: Mon Oct 27, 2025 19:49    Post subject: Reply with quote
Alozaros, OISD stopped supporting that format I believe 1 January 2024. There's an announcement on their site.

I'm in the same boat as you. I dropped oisd due to the change and am still using that old format using other lists. I need to update to the dnsmasq2 formatted oisd list using the conf-file dnsmasq directive to point to the file.

_________________
On 61465: 3x Dynalink DL-WRX36, Linksys MX4200v2, 2x MR7350. WPA2personal/WPA3 w/ AES, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), Two SmartDNS/DoT providers and one DNSCrypt provider via VPNs. DNSmasq manages that plus ad blocking and local DNS.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum