1
0
mirror of https://github.com/uklans/cache-domains.git synced 2024-05-12 03:54:53 +00:00

6 Commits

Author SHA1 Message Date
1cbdc8dbf4 Remove duplicates in Unbound generation script
#149 introduced a minor regression which included duplicates for the Unbound generation script.
While this does not have a technical impact it may cause confusion for users, this PR will ignore duplicate entries.
2021-06-15 13:14:49 +10:00
8fbf55bdbe Handle newlines in generation scripts
The generation scripts will now properly handle/ignore empty lines as this previously would cause issues with the generated Unbound output.
2021-01-28 10:16:44 +11:00
14ccfecb1f Include advice for unbound script 2021-01-15 21:43:21 +11:00
74cab757af Fix generation scripts
This change leverages #130 and also applies this to the dnsmasq script.

As it currently stands both generation scripts (unbound and dnsmasq) have a condition where a domain will be skipped if it fuzzy matches a domain already parsed that is higher in the CDN domain list.

For example the latter of the below two samples would never be added.
8793ce1531/steam.txt (L20) 8793ce1531/steam.txt (L29)

I've also taken the liberty to sort the output of said scripts for readability and troubleshooting purposes.

Closes #130.
2020-10-29 23:05:45 +11:00
66194b3db5 Support passing multiple IP addresses
Signed-off-by: Christophe Vanlancker <carroarmato0@inuits.eu>
2019-06-15 23:27:16 +02:00
b365bb205c Add unbound generation script (#16) 2018-06-23 18:25:18 +01:00