iT邦幫忙

0

網站問題

dns

各位大大好
小弟網域為example.com
DNS設定 (Nameserver: cloudflare)
| Type | Name | Content | TTL | Status |
|---|
| A | @ | 152.67.x.x | Auto | DNS Only |
| A | @ | 152.67.x.y | Auto | DNS Only |
| A | www | 152.67.x.x | Auto | DNS Only |
| A | www | 152.67.x.y | Auto | DNS Only |

結果有部分(一台)電腦
nslookup結果

> example.com
Server:		1.1.1.1
Address:	1.1.1.1#53

Non-authoritative answer:
Name:	example.com
Address: 172.67.208.150
Name:	example.com
Address: 104.27.135.71
Name:	example.com
Address: 104.27.134.71

但Chrome DevTools 的 Network紀錄
https://ithelp.ithome.com.tw/upload/images/20200616/20102395oaGEaXhniE.png
卻連線到193.122.x.x
導致無法正常使用
請問哪邊可能出問題了呢

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

1
㊣浩瀚星空㊣
iT邦大神 1 級 ‧ 2020-06-16 12:04:10
最佳解答

你的狀態是 Proxied
會開啟cdn的模式。

在瀏覽器上看到不屬於你設定的ip,是很正常的事。
如果要確定的話。請將狀態開啟 dns only。

先確定原因吧。

看更多先前的回應...收起先前的回應...
Franky Chen iT邦研究生 3 級 ‧ 2020-06-16 13:55:02 檢舉

已調整為DNS only

DNS設定 (Nameserver: cloudflare)
| Type | Name | Content | TTL | Status |
|---|
| A | @ | 152.67.x.x | Auto | DNS only |
| A | @ | 152.67.x.y | Auto | DNS only |
| A | www | 152.67.x.x | Auto | DNS only |
| A | www | 152.67.x.y | Auto | DNS only |

nslookup結果

> example.com
Server:		1.1.1.1
Address:	1.1.1.1#53

Non-authoritative answer:
Name:	example.com
Address: 152.67.x.x
Name:	example.com
Address: 152.67.x.y

Chrome Devtools 'Network'
https://ithelp.ithome.com.tw/upload/images/20200616/2010239511PoPNU2qR.png

BKY iT邦研究生 2 級 ‧ 2020-06-16 14:29:50 檢舉
Franky Chen iT邦研究生 3 級 ‧ 2020-06-16 14:51:59 檢舉

哇......跟我的問題跟favicon.ico無關啊......

BKY iT邦研究生 2 級 ‧ 2020-06-16 15:22:01 檢舉

我是根據您的貼圖
Get favicon.ico 404 (Not Found)

你要用ping的方式先確定一下你當前的指向是如何的。

由於我發現你雖然是不同ip。但其實還是有得到200。
代表是有實際連上的。

我推測你可能有去改到host文件。
先檢查看看吧。

nslookup 命令是依照現況的外部dns為主。
不會理會你的host文件的。

Franky Chen iT邦研究生 3 級 ‧ 2020-06-16 17:34:16 檢舉

感謝大大神解
的確是之前改到Hosts了
目前問題已排除
(原來nslookup不會看hosts啊......)
謝謝您!

1
BKY
iT邦研究生 2 級 ‧ 2020-06-16 11:54:06

ipconfig /flushdns
清除 DNS Cache 試看看

Franky Chen iT邦研究生 3 級 ‧ 2020-06-16 13:51:10 檢舉

出問題的設備是Mac OS且已清除DNS快取,謝謝您!

我要發表回答

立即登入回答