Git Product home page Git Product logo

Comments (5)

pmkol avatar pmkol commented on August 9, 2024

ECS中,只有强制远程解析列表中的域名,会附带**的ECS信息,其他的只会附带大陆的ECS信息,目前GFWLIST列表中的域名,使用的ECS子网是1.2.4.0/24,一般会给被墙域名分配**大陆的周边的CDN节点。

如果你使用的GFWLIST模式的代理,则可以将ecs_cn这个子网信息,修改成你代理服务器的子网信息。

如果你使用的是白名单模式的代理,config.yaml中294行的IP判断处的ecs也应修改为你代理服务器的子网信息,即将ecs_global修改为ecs_cn,ecs_cn的子网IP修改为代理服务器的子网IP。

这样可以实现最优的访问速度。

from easymosdns.

weiyakeji avatar weiyakeji commented on August 9, 2024

我明白了,感谢大佬给与详细解答。
看来这个要实现起来还是需要跟代理工具那边的规则配套,不然总归是有误判的。

from easymosdns.

weiyakeji avatar weiyakeji commented on August 9, 2024

我看了下配置,我的mosdns是部署在内网,关闭ecs时,好像注解了294行的参数,这个可以打开?

from easymosdns.

pmkol avatar pmkol commented on August 9, 2024

我看了下配置,我的mosdns是部署在内网,关闭ecs时,好像注解了294行的参数,这个可以打开?

关闭是为防止对外发送内网IP导致解析错误,当定义了指定的外网IP后,是可以打开的

from easymosdns.

weiyakeji avatar weiyakeji commented on August 9, 2024

我下,我的mosdn是部署配置网络,关闭ecs时,好像解开了294行的,可以打开吗?

关闭是因为阻止发送内网IP导致解析错误,当定义了指定的外网IP后,是可以打开的

明白了,已经按照大佬指点做了相应修改,大部分已知被gfw墙的域名访问很流畅,我的代理配置的是介于gfw模式和白名单模式之间,我把一些已知的规则库,走代理,规则匹配不到的漏网域名域名走本地,漏网的域名似乎有一点影响,不过好在日常碰到的几率也不大。
再次感谢大佬指点

from easymosdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.