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

能否支持原版 ChinaDNS 那种格式的路由表文件? #3

Closed
pexcn opened this issue Aug 24, 2019 · 6 comments
Closed

能否支持原版 ChinaDNS 那种格式的路由表文件? #3

pexcn opened this issue Aug 24, 2019 · 6 comments

Comments

@pexcn
Copy link
Contributor

pexcn commented Aug 24, 2019

就像这样的:

# chnroute.txt
1.0.1.0/24
1.0.2.0/23
1.0.8.0/21
1.0.32.0/19
1.1.0.0/24

# chnroute6.txt
2001:250::/35
2001:250:2000::/35
2001:250:4000::/34
2001:250:8000::/33
2001:251::/32
@zfl9
Copy link
Owner

zfl9 commented Aug 24, 2019

不支持,chinadns-ng 只是通过 ipset 来判断ip的,这些网段都是存在 ipset 中。。

@zfl9
Copy link
Owner

zfl9 commented Aug 24, 2019

本身不读取这些东西。。

@pexcn
Copy link
Contributor Author

pexcn commented Aug 24, 2019

那好吧,如果下个版本能添加这个功能那就更好了。

@pexcn pexcn closed this as completed Aug 24, 2019
@zfl9
Copy link
Owner

zfl9 commented Aug 24, 2019

你可以将这些文件稍微转换一下,变为 ipset 的可读文件就行了

@pexcn
Copy link
Contributor Author

pexcn commented Aug 24, 2019

嗯,好的

@zfl9
Copy link
Owner

zfl9 commented Aug 24, 2019

反正这个转换不复杂,很简单

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