ragibkl / adblock-dns-server

Adblock DNS Server powered by Bancuh DNS and dnsdist-acme
https://bancuh.com/
MIT License
63 stars 14 forks source link

Pangle ads on eSound (Update ^-^) #207

Closed RAiNYRENJi closed 2 months ago

RAiNYRENJi commented 3 months ago

Screenshot_20240411_182906.jpg

Screenshot_20240411_182311.jpg

These ads appear on eSound (and really annoying)...

Is it possible to block these ads?

ragibkl commented 3 months ago

Hi. Can you test the app while using our dns? Then see if anything show up in the logs. Logs endpoint in the faq page. https://bancuh.com/faq

Look for any ads domain that might show up.

I tried the app myself and looks like ads are blocked. Maybe they are using different ad servers for your location.

RAiNYRENJi commented 3 months ago

I checked the logs and find any pangle domains, they're all say 0.0.0.0 but the ads still appear on the app even cache is cleared or restarted my phone, and I'm using the Singapore server because it's closest to my location (🇵🇭)

ragibkl commented 3 months ago

Hi. That's interesting. If there's no adserver to block, there's not much we can do.

If you disable bancuh dns, do you see the same ads?

My guess is that they try to load ads from pangle domains, but when it fails, it just fallbacks to that hardcoded ads.

Also possible that they load ads on the same domain as the app's music data api. This we cannot block.

Another possibility is they don't use domain names, but just load ads using ip address directly. This I think is less likely.

RAiNYRENJi commented 3 months ago

If you disable bancuh dns, do you see the same ads?

Usually Google, Facebook, Unity, and Pangle is what usually appear on the app.

Google when launching the app Facebook, Unity, and Pangle for playing or skipping tracks.

My guess is that they try to load ads from pangle domains, but when it fails, it just fallbacks to that hardcoded ads.

I think that's the reason, I opened a different app (Pure Player) and seems like the same as well

Screenshot_20240414_104433.jpg

ragibkl commented 3 months ago

@RAiNYRENJi , can I know what phone you are using? I'm worried if your phone manufacturer is also injecting all these ads into your apps.

I tried the eSound app myself, and I don't see any ads when I use bancuh dns.

RAiNYRENJi commented 3 months ago

@RAiNYRENJi , can I know what phone you are using? I'm worried if your phone manufacturer is also injecting all these ads into your apps.

Sure, my phone is a HONOR X9a (or Magic 5 Lite on other countries), PH variant, and I haven't encountered any ads that are built in to the phone's system

I tried the eSound app myself, and I don't see any ads when I use bancuh dns.

What you said about the "hardcoded ads" yeah I guess that's probably the reason, sometimes it just shows a blank black screen with a loading spinner.

ragibkl commented 3 months ago

Hi @RAiNYRENJi , in that case, I don't think we can do anything for this. Please close this ticket if you're done testing.

Of course, feel free to open another issue ticket for other feedback in the future.

Thanks for your contribution and for using bancuh dns!

RAiNYRENJi commented 3 months ago

So... Yeah it's late at night, and I finally figured it out!!!

mediation.unity3d.com

This stops the popup ad to show up

Video with AdGuard Logs

ragibkl commented 3 months ago

@RAiNYRENJi , I've added that here in the latest commit. Let's see if it works.

ragibkl commented 2 months ago

@RAiNYRENJi , any updates? Did you test our bancuh dns after I added that to the blocklist?

RAiNYRENJi commented 2 months ago

@RAiNYRENJi , any updates? Did you test our bancuh dns after I added that to the blocklist?

Tested on AdGuard using DoT, Not a single ad showed up ✨

Screenshot_20240506_112451.jpg

Bonus: Hagezi also added the domain but on its lists, and...

Screenshot_20240506_112739.jpg

That's just the domain constantly trying to connect, really wanna show ads 😂

(Update: Earlier it works, now the logs are showing me a "Server Fail" and the ads are going through?

Screenshot_20240506_114409.jpg

Odd... I'm using the sg-dns1.bancuh.com)

ragibkl commented 2 months ago

Ok, I think need to block *.mediation.unity3d.com. I've pushed a commit here: https://github.com/ragibkl/adblock-dns-server/commit/6a6f3df7220cca55335694cc59e1b77af108c0f0

I have restarted sg servers so you can test again. Please test and report here.

RAiNYRENJi commented 2 months ago

So far it works and the ad isn't popping up, currently now using the DNS through Private DNS.

ragibkl commented 2 months ago

@RAiNYRENJi , that's good to know! Looks like you were able to find the right ad domain to block! Nice!

I did a quick search, looks like there are other projects that also block some part of *.mediation.unity3d.com domain. https://github.com/search?q=mediation.unity3d.com&type=code .

I think we are done here. If you are happy with your testing, please close this ticket.

Thanks for your contribution!