Linux - DNS-Fehler tritt auf, die Software kann auf das Internet zugreifen und im Terminal-Wget wird die falsche IP angezeigt, die Anfrage kann jedoch erfolgreich sein.
我想大声告诉你
我想大声告诉你 2017-07-03 11:41:29
0
1
978
$:host www.baidu.com
www.baidu.com has address 0.0.0.90
www.baidu.com has IPv6 address ::0.0.0.91
$:dig +trace www.baidu.com
;; Question section mismatch: got ./RESERVED0/CLASS512
;; Question section mismatch: got ./RESERVED0/CLASS512

; <<>> DiG 9.8.3-P1 <<>> +trace www.baidu.com
;; global options: +cmd
;; connection timed out; no servers could be reached
$:wget www.baidu.com
--2017-07-01 15:34:44--  http://www.baidu.com/
Resolving www.baidu.com... 0.0.0.146, ::0.0.0.147
Connecting to www.baidu.com|0.0.0.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2381 (2.3K) [text/html]
Saving to: ‘index.html.1’

index.html.1        100%[===================>]   2.33K  --.-KB/s    in 0s

2017-07-01 15:34:44 (66.8 MB/s) - ‘index.html.1’ saved [2381/2381]
我想大声告诉你
我想大声告诉你

Antworte allen(1)
过去多啦不再A梦

终于解决了。原来macproxy的缘故,dns默认是采用remote的形式,改成local问题解决。差点要重装系统了,笑哭~

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!