#2021.09.17 Added in the option to include a remote allow list to be processed, but it expects it in a limited Adblock format #2021.09.13 Bash script to pull domain names of URLs to be blocked by Synology DNSServer and install them #Dependencies: Synology DNSServer package, sed, wget, sort, comm, blocklist.txt, allowlist.txt #Description : Script to create a domain name based blocklist for use with Synology DNSServer Allows you to create an allowlist of permitted domains, which if found in the merged blocklist, will be removed.Formats the blocklists appropriately for the Synology DNS Server. Merges, deduplicates and sorts the blocklists.Allows you to create a list of blocklists to apply to your Synology DNS Server. To make the Synology DNS Server into an effective filter for advertising domains and other malicious websites, I have written a shell script below which gives you greater flexibility. An effective way to block adverts and malicious websites This works extremely well, but has certain limitations in its flexibility, as the script was designed to pull a single blocklist and apply it. I then came across a simple blog post by Gerzon ( ) which explained how to set up the Synology DNS Server to block adverts. However, I found that these were incredibly slow, resulting in significant lag for websites and applications. I use my Synology DNS Server to route traffic both for my intranet and the internet and tried using the AdGuard DNS servers as a solution. Using the Synology DNS Server as a filter However, by using safe, sanitised blocklists, false positives can be reduced. This can be fraught with dangers, as you can effectively kill websites and apps completely with this approach. There are lots of extensions for various web browsers that you can use, and whilst these allow a very targeted approach to removing adverts, they only work within the browsers themselves.Īnother option is to block domains entirely. I am constantly irritated by the number of adverts and clickbait that I see whenever I use apps or traverse the web, and have looked for effective ways block them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |