๐Ÿ”’ Closed Block Ads using DNS (custom server)

Status
Not open for further replies.
๐™ป๐šŠ๐š‘๐šŠ๐š ๐š—๐šŠ ๐šข๐šŠ๐š๐šŠ ๐š—๐š ๐š‹๐š›๐š˜๐š ๐šœ๐šŽ๐š› ๐š–๐šŠ๐šข ๐šŠ๐š ๐š‹๐š•๐š˜๐šŒ๐š”๐šŽ๐š› ๐š—๐šŠ ๐š—๐š˜ ๐š—๐šŽ๐šŽ๐š ๐š—๐šŠ ๐šข๐šŠ๐š— ๐šŽ ๐šœ๐šŽ๐š
 
๐™ป๐šŠ๐š‘๐šŠ๐š ๐š—๐šŠ ๐šข๐šŠ๐š๐šŠ ๐š—๐š ๐š‹๐š›๐š˜๐š ๐šœ๐šŽ๐š› ๐š–๐šŠ๐šข ๐šŠ๐š ๐š‹๐š•๐š˜๐šŒ๐š”๐šŽ๐š› ๐š—๐šŠ ๐š—๐š˜ ๐š—๐šŽ๐šŽ๐š ๐š—๐šŠ ๐šข๐šŠ๐š— ๐šŽ ๐šœ๐šŽ๐š
Ser hindi po lahat ay na bloblock ni browser.
Kung titignan nyo po ang dashboard ng server ko eto ang stats.

kunglahat ay na bloblock na ni browser dapat ung queries blocked ng dns ko ay 0.
pero since may nakakalusot sa browser ng user ang DNS server ko na ang nag bloblock nun
1606444796733.webp
 
Youtube ads can not be blocked at the dns level. Kase pre-rolled na yung video kasama yung sandamakmak na ads. Basically, you can only block it through browser and its plugins.
 
Not sure about that.

Youtube videos are served from these domains: *.googlevideo.com. Ganun din yun mga ads, they are served from the same domain where the videos originated. So pag-block mo yung any of those googlevideo.com, blocked mo din yung video.

Yung ad-blocking at the dns level katulad ng pi-hole is effective pa din pero hindi sa katulad ng youtube.

While yung mga browser extensions like ublock, they are in the position (not too different from man-in-the-middle) to see the actual data stream kaya detected at which point kung nasaan yung ads. Kung gusto mo, observe it using chrome developer tools and see the domains I was talking about.
 
Not sure about that.

YรดรนTรนbรฉ videos are served from these domains: *.googlevideo.com. Ganun din yun mga ads, they are served from the same domain where the videos originated. So pag-block mo yung any of those googlevideo.com, blocked mo din yung video.

Yung ad-blocking at the dns level katulad ng pi-hole is effective pa din pero hindi sa katulad ng YรดรนTรนbรฉ.

While yung mga browser extensions like ublock, they are in the position (not too different from man-in-the-middle) to see the actual data stream kaya detected at which point kung nasaan yung ads. Kung gusto mo, observe it using chrome developer tools and see the domains I'm talking about.
mayron po sir eto gamit kong addons sa script ko kaso nung nakaraan nag kaissue kaya tinanggal ko muna
You do not have permission to view the full content of this post. Log in or register now.
 
Kapag ini-load mo yung list na yun sa resolver mo, you are going to have tons of issue, ie video not playing.

Ibig mong sabihin loaded yung list na yun sa resolver mo. Can you give me few samples of those domain so I can check?

By the way, I run my own resolver using unbound.
 
Kapag ini-load mo yung list na yun sa resolver mo, you are going to have tons of issue, ie video not playing.

Ibig mong sabihin loaded yung list na yun sa resolver mo. Can you give me few samples of those domain so I can check?

By the way, I run my own resolver using unbound.
pa open nalang nung block.list file sa github project

yep dati madali syang i ban at walang affected na video. puro ads lang na bloblock pero ngyn nag mimix na sya ng ibang subdomain
kaya ko sya tinanggal for now
 
Ang ibig kong sabihin hindi yung link sa github. Paano ko masasabi kung alin sa mga yun yung loaded sa server mo?

What I mean is yung actual .googlevideo.com subdomains na blocked sa resolver mo.
 
sa ngyn sir naka disable pa ung script na ito sa server ko dahil may konting issue pa.
pero ito ang ginagawa nito.
dapat naka whitelist si s.youtube.com sa blocker mo.

sample subdomain ni youtube kung san nag rurun ang ads rotating ito kaya mahaba ung file kung titignan mo sa source sa github page

r1---sn-2gb7sn7s.googlevideo.com
r1---sn-5ualdn7k.googlevideo.com
r1---sn-h0jeen76.googlevideo.com
r3---sn-5hne6nsy.googlevideo.com
r6---sn-u5a3u5a3-ajtd.googlevideo.com
r1---sn-2a5thxqp5-jb3l.googlevideo.com

ngyn sa script din na gamit ko may list auto update din sya ng whitelist subdomains para di ma apektuhan ung regular videos

n4v7sney
a5meknzs
a5mlrn7y
n4v7sn7s
o097znlk
n4v7sn76
n4v7sne7
a5meknes
 
Look at this, unang sabak. I used your resolver then nag bukas ako ng isang random youtube video. Agad ads bumulaga.
 

Attachments

  • resolver.webp
    resolver.webp
    11.3 KB · Views: 29
  • yt-ads.webp
    yt-ads.webp
    158.3 KB · Views: 25
Status
Not open for further replies.

About this Thread

  • 54
    Replies
  • 3K
    Views
  • 27
    Participants
Last reply from:
Disypol

Online now

Members online
1,575
Guests online
1,216
Total visitors
2,791

Forum statistics

Threads
2,272,607
Posts
28,943,898
Members
1,237,265
Latest member
Wesleymenger
Back
Top