Commit Graph

3 Commits

Author SHA1 Message Date
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