Site Tools


adblock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
adblock [2021/07/04 06:08]
hogwild [Adblock]-clarity
adblock [2021/07/04 06:10] (current)
hogwild [Adblock]-add network link
Line 5: Line 5:
 FreshTomato's adblocker works through //DNS cache poisoning//. It downloads lists of URLs/domains to block. It then replaces whatever dnsmasq resolves as the advertiser's correct IP address with an address of 0.0.0.0. Since 0.0.0.0. is an invalid/unknown IP address, no connection is made to that URL and no page is drawn. Alternatively, DNS queries are replaced with 127.0.01, the loopback address, (the same address as the client making the DNS request). Again, the URL will be blocked. FreshTomato's adblocker works through //DNS cache poisoning//. It downloads lists of URLs/domains to block. It then replaces whatever dnsmasq resolves as the advertiser's correct IP address with an address of 0.0.0.0. Since 0.0.0.0. is an invalid/unknown IP address, no connection is made to that URL and no page is drawn. Alternatively, DNS queries are replaced with 127.0.01, the loopback address, (the same address as the client making the DNS request). Again, the URL will be blocked.
  
-For Adblock to work properly, client devices **must be configured** to use FreshTomato's IP address (dnsmasq) as their DNS server. This can be done in static form (on the device itself) or through FreshTomato. In FreshTomato, this is done in the Basic/Network menu, by setting DNS to manual, and typing in FreshTomato's own IP address in the DNS Server field(s). If clients are configured otherwise, dnsmasq will not intercept their DNS requests, and ads will not be blocked.+For Adblock to work properly, client devices **must be configured** to use FreshTomato's IP address (dnsmasq) as their DNS server. This can be done in static form (on the device itself) or through FreshTomato. In FreshTomato, this is done in the Basic/[[network|Network]] menu, by setting DNS to manual, and typing in FreshTomato's own IP address in the DNS Server field(s). If clients are configured otherwise, dnsmasq will not intercept their DNS requests, and ads will not be blocked.
  
 Any device not configured to use FreshTomato as its DNS Server will get DNS resolution directly, without intervention from dnsmasq, and the Adblocker. Thus, it will display advertisements. Any device not configured to use FreshTomato as its DNS Server will get DNS resolution directly, without intervention from dnsmasq, and the Adblocker. Thus, it will display advertisements.
adblock.txt ยท Last modified: 2021/07/04 06:10 by hogwild