Amir Zarrinkafsh
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
Amir Zarrinkafsh
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
Amir Zarrinkafsh
14ccfecb1f
Include advice for unbound script
2021-01-15 21:43:21 +11:00
Amir Zarrinkafsh
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.
https://github.com/uklans/cache-domains/blob/8793ce15315cac1e594f7602158c2e82f510bc91/steam.txt#L20 https://github.com/uklans/cache-domains/blob/8793ce15315cac1e594f7602158c2e82f510bc91/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
Christophe Vanlancker
66194b3db5
Support passing multiple IP addresses
...
Signed-off-by: Christophe Vanlancker <carroarmato0@inuits.eu >
2019-06-15 23:27:16 +02:00
Crabbey
b365bb205c
Add unbound generation script ( #16 )
2018-06-23 18:25:18 +01:00