Giter VIP home page Giter VIP logo

Comments (5)

wwqgtxx avatar wwqgtxx commented on September 18, 2024 5

done ecbbf9d

from mihomo.

Magic989 avatar Magic989 commented on September 18, 2024 4

#342

from mihomo.

giveup avatar giveup commented on September 18, 2024

It's quite challenging to implement this unless the host running Mihomo has a public IP address. Otherwise, Go will need to rely on an external service to retrieve the public IP address of the host.

from mihomo.

Magic989 avatar Magic989 commented on September 18, 2024

好像只有谷歌的 ECS 体验还可以,不过就这个也够了

# 深圳网段(120.76.0.0/14) 杭州网段(223.4.0.0/14) 成都网段(47.108.0.0/15) 上海网段(47.100.0.0/14) 青岛网段(47.104.0.0/15) 北京网段(101.200.0.0/15)
      - 'https://dns.google/dns-query#Proxy&ecs=120.76.0.0/14&ecs-override=true'

from mihomo.

huber1234 avatar huber1234 commented on September 18, 2024

好像只有谷歌的 ECS 体验还可以,不过就这个也够了

# 深圳网段(120.76.0.0/14) 杭州网段(223.4.0.0/14) 成都网段(47.108.0.0/15) 上海网段(47.100.0.0/14) 青岛网段(47.104.0.0/15) 北京网段(101.200.0.0/15)
      - 'https://dns.google/dns-query#Proxy&ecs=120.76.0.0/14&ecs-override=true'

Yes, I test it like this, it works very well. all domain will resolve by your proxy remotely. And the returned resolved CDN IP is also very accurate.
nameserver: [
"https://8.8.8.8/dns-query#ecs-ovveride=true&ecs=1.0.1.0&proxy",
"https://8.8.4.4/dns-query#ecs-ovveride=true&ecs=1.0.1.0&proxy",
]
This is a feature worth promoting, thank you for your efforts @wwqgtxx

from mihomo.

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.