accelerated-domains: remove invalid items

This commit is contained in:
Felix Yan 2018-12-19 05:15:33 +08:00
parent e30a9358a0
commit ebcf6a6a27
4 changed files with 8 additions and 161 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,9 +3,14 @@ cdn.globalsigncdn.com
cdn.jsdelivr.net cdn.jsdelivr.net
edge.yunjiasu.com edge.yunjiasu.com
ns1.8844dns.com ns1.8844dns.com
r1.res.office365.com
r1.res.outlook.com
v2ex.com
www.azure.cn.mschcdn.com www.azure.cn.mschcdn.com
www.gov.cn www.gov.cn
www.howbuy.com
www.igoldhk.com www.igoldhk.com
www.qzccbank.com
www.travelsky.net www.travelsky.net
www.xiumu.org www.xiumu.org
www.yangfd.com www.yangfd.com

View File

@ -33,4 +33,5 @@ status: NXDOMAIN
.hostmonster.com. .hostmonster.com.
.automattic.com. .automattic.com.
.sedoparking.com. .sedoparking.com.
.ztomy.com. .ztomy.com.
.parklogic.com.

View File

@ -109,7 +109,7 @@ class ChinaListVerify(object):
self.check_whitelist(nameservers) self.check_whitelist(nameservers)
for testdomain in self.cdnlist: for testdomain in self.cdnlist:
if testdomain.endswith("." + domain): if testdomain == domain or testdomain.endswith("." + domain):
try: try:
self.check_cdnlist(testdomain) self.check_cdnlist(testdomain)
except dns.resolver.NXDOMAIN: except dns.resolver.NXDOMAIN: