Git Product home page Git Product logo

Comments (3)

pmkol avatar pmkol commented on August 9, 2024 1

修改config.yaml文件以下两处即可

    # 已知的本地域名或CDN域名用本地服务器解析
    - if: "(query_is_local_domain) || (query_is_cdn_cn_domain)"
      exec:
        - _prefer_ipv4
        - ecs_auto
        - forward_alidns
        - _return

      # primary 从本地服务器获取应答,丢弃非本地IP或污染IP的结果
    - primary:
        - _prefer_ipv4
        - ecs_auto
        - forward_local
        - ttl_short
        - if: "(! response_has_local_ip) && [_response_valid_answer] || (response_has_gfw_ip)"
          exec:
            - _drop_response

from easymosdns.

weiyakeji avatar weiyakeji commented on August 9, 2024

收到,感谢大佬,我也是加载这个位置,可能是缓存的原因,没及时生效。

from easymosdns.

pmkol avatar pmkol commented on August 9, 2024

不仅要清空DNS缓存,客户端的缓存也要清空的

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.