Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

需要支持通配符或者正则 #106

Closed
4ft35t opened this issue May 19, 2022 · 5 comments
Closed

需要支持通配符或者正则 #106

4ft35t opened this issue May 19, 2022 · 5 comments

Comments

@4ft35t
Copy link

4ft35t commented May 19, 2022

可能需要引入字符串 glob 或者正则来处理。

阿里云全局流量管理,https://help.aliyun.com/document_detail/283229.html

通过 ICP 备案查询,阿里云注册了 63 个域名

gtm-a1b1.com  ~ gtm-a1b9.com
...
gtm-a7b1.com  ~ gtm-a7b9.com

添加设置 4ft35t/cdn@47fa60c

gtm-a[1-7]b[1-9].com:
  name: 阿里云全局流量管理
  link: https://help.aliyun.com/document_detail/283229.html

可测试域名

nslookup exp.leuke.cn 114.114.114.114
Server:         114.114.114.114
Address:        114.114.114.114#53

Non-authoritative answer:
exp.leuke.cn    canonical name = gtm-cn-zvp2nicnw08.gtm-a2b2.com.
Name:   gtm-cn-zvp2nicnw08.gtm-a2b2.com
Address: 59.110.23.54
@4ft35t
Copy link
Author

4ft35t commented May 19, 2022

上次的通配符问题是用硬编码解决的 #18

@4ft35t
Copy link
Author

4ft35t commented May 19, 2022

app.jiayouxueba.cn canonical name = gtm-cn-09k20o0w303.gtm-a2b3.com.

@4ft35t
Copy link
Author

4ft35t commented May 19, 2022

i.ykzq.com canonical name = gtm-cn-tl32aldbw0n.gtm-a5b3.com.

@4ft35t
Copy link
Author

4ft35t commented May 25, 2022

腾讯云的 4ft35t/cdn@d38b4f9

tdnsv1.com ~ tdnsv15.com

nslookup imgv4.tvsou.com 114.114.114.114
Server:         114.114.114.114
Address:        114.114.114.114#53

Non-authoritative answer:
Name:   imgv4.tvsou.com
Address: 112.17.54.217
Name:   imgv4.tvsou.com
Address: 117.167.118.145
Name:   imgv4.tvsou.com
Address: 112.17.55.147
imgv4.tvsou.com canonical name = imgv4.tvsou.com.cdn.dnsv1.com.
imgv4.tvsou.com.cdn.dnsv1.com   canonical name = rdalfuzt.slt.sched.tdnsv8.com.

@zu1k
Copy link
Owner

zu1k commented Jun 29, 2022

v0.4.4 版本已支持正则方式匹配,感谢维护数据库

@zu1k zu1k closed this as completed Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants