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

配置文件有问题 #8

Closed
ghost opened this issue Dec 31, 2020 · 26 comments
Closed

配置文件有问题 #8

ghost opened this issue Dec 31, 2020 · 26 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Dec 31, 2020

国内域名和国外域名都在一起解析

@hezhijie0327 hezhijie0327 added the bug Something isn't working label Dec 31, 2020
@hezhijie0327
Copy link
Owner

  1. 问题已经找到了,来自上游规则 Loyalsoldier/v2ray-rules-dat

截图 2020-12-31 10 32 14

2. 当前文件格式为: 国内DNS [/国内域名/]国内DNS -> 此处DNS用 # 进行替代,即走默认值 [/国外域名/]国外DNS 3. 那是否需要还原到以前那样的结构,如果需要我修改下生成脚本: 国内DNS [/国外域名/]国外DNS

@ghost
Copy link
Author

ghost commented Dec 31, 2020

你好,需要的

@ghost
Copy link
Author

ghost commented Dec 31, 2020

因为我这边网络情况,只要用国外dns就不会有污染,所以需要。

@ghost
Copy link
Author

ghost commented Dec 31, 2020

国外dns
[国内域名]国内dns

@ghost
Copy link
Author

ghost commented Dec 31, 2020

国内dns
[国外域名]国外dns

@ghost
Copy link
Author

ghost commented Dec 31, 2020

[]规则内的域名匹配对应国家的dns

@hezhijie0327
Copy link
Owner

  1. 已支持生成分离黑白名单规则
    黑名单模式(gfwlist2agh_blacklist_full_split.txt
    精简黑名单模式(gfwlist2agh_blacklist_lite_split.txt
    白名单模式(gfwlist2agh_whitelist_full_split.txt
    精简白名单模式(gfwlist2agh_whitelist_lite_split.txt
  2. 修正 translate.baidu.com 异常出现在黑名单中 ca0c500

@ghost
Copy link
Author

ghost commented Dec 31, 2020

好的,谢谢。
[国外域名]国外dns/国外dns
怎么在规则域名后添加两个国外dns

@hezhijie0327
Copy link
Owner

这个官方规则中暂时不支持,但是有人已经提出类似 GROUP 的建议,后续如果上线将同步该功能,但相比于他提出的那种方式,我更偏向于你的想法但是分隔符最好不要是 “/” 毕竟 DoH 中也存在该符号,例如:[/www.google.com/]https://doh.opendns.com:443/dns-query,tls://dns.google:853

@ghost
Copy link
Author

ghost commented Dec 31, 2020

,符号确实比较符合。

@hezhijie0327
Copy link
Owner

我刚刚也在那提了一下,看官方怎么抉择了

@ghost
Copy link
Author

ghost commented Dec 31, 2020

提个小建议,增加README,介绍一下full,lite,split.

@ghost
Copy link
Author

ghost commented Dec 31, 2020

还有一个建议,如果我有一个A.COM是被污染的,我如何方便加入规则脚本内。

@hezhijie0327
Copy link
Owner

提个小建议,增加README,介绍一下full,lite,split.

我有空写一下

还有一个建议,如果我有一个A.COM是被污染的,我如何方便加入规则脚本内。

可以通过在 data/data_gfwlist.txt 中添加,或者开个 issue

@ghost
Copy link
Author

ghost commented Dec 31, 2020

好的,谢谢,先close了,感谢支持。

@ghost ghost closed this as completed Dec 31, 2020
@ghost ghost reopened this Jan 1, 2021
@ghost
Copy link
Author

ghost commented Jan 1, 2021

你好,打扰了,adguard.org这个域名可以加入在gfw内吗?

@hezhijie0327
Copy link
Owner

  1. 刚刚测试了下 adguard.org 记录为空,目前域名状态检测机制会将其排除
  2. local.adguard.org 记录未被污染

@ghost
Copy link
Author

ghost commented Jan 1, 2021

thanks

@ghost ghost closed this as completed Jan 1, 2021
@ghost
Copy link
Author

ghost commented Jan 2, 2021

域名:secgw-aserver-heyi.m.taobao.com.gds.alibabadns.com
这是观看ios APP 优酷抓到域名cdn,不在国内地址表中,所以优酷一直弹vpn的提示
添加alibabadns.com到国内地址表中即可。

@ghost ghost reopened this Jan 2, 2021
@ghost
Copy link
Author

ghost commented Jan 2, 2021

不加入国内地址表,会解析到海外的cdn上。

@ghost
Copy link
Author

ghost commented Jan 2, 2021

image
image.uc.cn也是一个阿里的cdn,

@ghost
Copy link
Author

ghost commented Jan 2, 2021

虽然alikunlun.com在国内域名表中,但还是会解析到香港cdn上

@hezhijie0327
Copy link
Owner

  1. 以后还有类似的域名最好再开个新 issue
  2. 失败的原因还是同上,检测机制不允许它加入
  3. 近期设计个强制添加规则的方法,让这些域名能够绕开检测机制(暂定 @example.org

@hezhijie0327 hezhijie0327 added the enhancement New feature or request label Jan 2, 2021
@ghost
Copy link
Author

ghost commented Jan 2, 2021

好的,以后新问题开新的issue,不好意思
对的,很需要强制添加域名进去。

hezhijie0327 added a commit that referenced this issue Jan 2, 2021
1. <Change> Add support for adding rules without checking the status of domains. #8
hezhijie0327 added a commit that referenced this issue Jan 2, 2021
1. <Change> Add 5 new cnacc rules. #8
@hezhijie0327
Copy link
Owner

  1. 已支持强制添加规则 @example.org
  2. 已添加上述域名:@alibabadns.com @it-global.cn ssnm.xyz @global-ict.cn @global-idc.net uc.cn

@ghost
Copy link
Author

ghost commented Jan 2, 2021

感谢。

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant