Coder Social home page Coder Social logo

Comments (11)

mili-tan avatar mili-tan commented on May 26, 2024 1

感谢反馈,已经尝试修正了,应该最近会Release

from auroradns.gui.

mili-tan avatar mili-tan commented on May 26, 2024

已经Release了,如果还有问题欢迎继续反馈。

from auroradns.gui.

bestpika avatar bestpika commented on May 26, 2024

image

Try Connect:System.Net.Sockets.SocketException (0x80004005): 無法識別這台主機。
   於 System.Net.Dns.GetAddrInfo(String name)
   於 System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   於 System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   於 System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
   於 AuroraGUI.Tools.IpTools.GetLocIp()

雖然按下確定後可以用,可是這樣看不出有沒有正確使用那台

from auroradns.gui.

bestpika avatar bestpika commented on May 26, 2024

然後我在圖示上右鍵點重新啟動會出現跟之前一樣的錯誤
image

Try Connect:System.Net.WebException: 無法解析遠端名稱: 'whatismyip.akamai.com'
   於 System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   於 System.Net.WebClient.DownloadString(Uri address)
   於 System.Net.WebClient.DownloadString(String address)
   於 AuroraGUI.Tools.IpTools.GetIntIp()

from auroradns.gui.

mili-tan avatar mili-tan commented on May 26, 2024

图片
似乎是您的辅DNS服务器 139.175.1.1 有问题 不能正常解析呢
这应该是**远传Seednet的DNS?
您可以换用其他DNS(8.8.8.8或者1.1.1.1 亦或是TWNIC的101.101.101.101)来试试看能否正常使用?

from auroradns.gui.

bestpika avatar bestpika commented on May 26, 2024

這台 DNS 有限制該 ISP 的用戶才可使用
可是我 SecondDns 改成 8.8.8.8 或 168.95.1.1 也會遇到相同的問題

from auroradns.gui.

bestpika avatar bestpika commented on May 26, 2024

開啟 debug log 會得到這樣的訊息

Try Connect:System.Net.WebException: 無法解析遠端名稱: 'whatismyip.akamai.com'
   於 System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   於 System.Net.WebClient.DownloadString(Uri address)
   於 System.Net.WebClient.DownloadString(String address)
   於 AuroraGUI.Tools.IpTools.GetIntIp()
| 2019-05-15 17:58:27 127.0.0.1 : whatismyip.akamai.com. | A
| 2019-05-15 17:58:27 127.0.0.1 : whatismyip.akamai.com. | A
| -- Startup SecondDns : 168.95.1.1
| -- Startup SecondDns : 168.95.1.1

from auroradns.gui.

bestpika avatar bestpika commented on May 26, 2024

就我的觀察,應該是在「啟動」的時候要先走 SecondDns 查詢後再走 DoH 的伺服器才對
但是這隻程式不管怎樣都是直接走系統 DNS 後出錯才走 SecondDns 所以才會出現錯誤訊息
在另一個類似的程式裡,這個啟動查詢時使用的 DNS 伺服器被稱為 Bootstrap DNS

from auroradns.gui.

mili-tan avatar mili-tan commented on May 26, 2024

是这样的 但是在我本地没有遇到这样的问题呢……
我在最开始的考量是 为了防止程序陷入查询DoH服务器的域名的循环
设置了排开DoH服务器的域名和WhatIsMyIP-API的域名 由本程序使用标准查询向SecondDns查询以后返回给系统
但是似乎在您的环境下并没有很好的工作呢…我会在研究下的…
另外关于DoH是否生效,您大可放心,因为SecondDns只会排开DoH服务器的域名和WhatIsMyIP-API的域名,以及在程序出错的时候使用,再其他时候均由DoH查询。

from auroradns.gui.

bestpika avatar bestpika commented on May 26, 2024

那能讓他啟動的時候先重試查詢幾次
這幾次都失敗再跳錯誤訊息嗎?

from auroradns.gui.

mili-tan avatar mili-tan commented on May 26, 2024

已经做了一些更改
第二次失败后将换用内部解析后的IP来连接 然后再失败后才会弹出错误提示
应该下月初会Release

from auroradns.gui.

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.