Site Tools


advanced-adblock

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
advanced-adblock [2024/11/27 01:07] – [Domain Blacklist URLs & Group-of-Lists] hogwildadvanced-adblock [2025/02/23 01:27] (current) – [Domain blacklist custom] -spelling, condense hogwild
Line 34: Line 34:
 You can adjust settings for both caches in the //dnsmasq custom configuration// field in the [[advanced-dhcpdns|DHCP/DNS/TFTP]] menu. You can adjust settings for both caches in the //dnsmasq custom configuration// field in the [[advanced-dhcpdns|DHCP/DNS/TFTP]] menu.
 )) \\ If it finds an entry, the script proceeds to step 5. If not, it proceeds\\ to step 3.\\  \\  )) \\ If it finds an entry, the script proceeds to step 5. If not, it proceeds\\ to step 3.\\  \\ 
-  - Dnsmasq searches its configuration files for a corresponding \\ entry. \\ \\ For adblock, the "dnsmasq.adblock" file holds the (sub)domains \\ to block. If and entry is found, it processes the entry. In the case \\ of adblock, the action is: resolve the domain to "0.0.0.0" or \\ "NXDOMAIN" (non-existent domain). Dnsmasq then proceeds \\ to step 5. \\  \\ +  - Dnsmasq searches its configuration files for a corresponding \\ entry. \\ \\ For adblock, the "dnsmasq.adblock" file holds the (sub)domains \\ to block. If an entry is found, it processes the entry. In the case \\ of adblock, the action is: resolve the domain to "0.0.0.0" or \\ "NXDOMAIN" (non-existent domain). Dnsmasq then proceeds \\ to step 5. \\  \\ 
   - Dnsmasq queries an upstream DNS server for the (sub)domain, directly \\ or via stubby/dnscrypt. The result is a positive lookup, or an \\ "NXDOMAIN". \\  \\    - Dnsmasq queries an upstream DNS server for the (sub)domain, directly \\ or via stubby/dnscrypt. The result is a positive lookup, or an \\ "NXDOMAIN". \\  \\ 
   - The result from these steps is sent to the cache and returned \\ to the requesting client.   - The result from these steps is sent to the cache and returned \\ to the requesting client.
Line 108: Line 108:
  \\  \\
  
-When using external storage, the limit is calculated as 10% of physical RAM. When no external storage is found, the limit is calculated as 6.5% of RAM. The limit can manually configured too. However, if the device becomes unstable, please revert to the auto-calculated value.+When using external storage, the limit is calculated as 10% of physical RAM. When no external storage is found, the limit is calculated as 6.5% of RAM. The limit can be manually configured too. However, if the device becomes unstable, please revert to the auto-calculated value.
  
 This is a limit, not a target. It's fine to have a smaller blockfile than the limit. A larger blockfile will result in longer restart times for the dnsmasq service. That's important because DHCP/DNS/TFTP won't function until dnsmasq finishes restarting. This is a limit, not a target. It's fine to have a smaller blockfile than the limit. A larger blockfile will result in longer restart times for the dnsmasq service. That's important because DHCP/DNS/TFTP won't function until dnsmasq finishes restarting.
Line 280: Line 280:
 For example: "/mnt/usb/blacklist.txt". For example: "/mnt/usb/blacklist.txt".
  
-Using external storage is convenient and offers some advantages for maintaining your blocklist. For example, moving a blacklist to another router would be as simple as removing a USB flash drive from one router and inserting it into the other (assuming both were set with the same storage location setting).+Using external storage is convenient and offers some advantages for maintaining your blocklist. For example, moving a blacklist to another router would be as simple as removing a USB flash drive from one router and inserting it into the other (assuming both were set with the same storage location setting). Do not store blacklist-custom mapped files in the same location defined in **Custom path,** as the latter gets wiped periodically.
  
  \\  \\
Line 320: Line 320:
 For example: "/mnt/usb/whitelist.txt". For example: "/mnt/usb/whitelist.txt".
  
-Using external storage is both convenient and offers certain advantages for maintaining the blocklist. For example, moving a whitelist to another router would be as simple as removing a USB flash drive from one router and inserting it into the other (assuming both were set with the same storage location setting).+Using external storage is both convenient and offers certain advantages for maintaining the blocklist. For example, moving a whitelist to another router would be as simple as removing a USB flash drive from one router and inserting it into the other (assuming both were set with the same storage location setting). Do not store you whitelist mapped file/s under the same location defined in **Custom path** as this latter gets wiped periodically.
  
-\\ **Sort a-z ↓** :  Clicking this sorts the field contents alphabetically.+\\ **Sort a-z ↓** :  clicking this sorts the field contents alphabetically.
  
  \\  \\
advanced-adblock.1732669621.txt.gz · Last modified: 2024/11/27 01:07 by hogwild