最近 Facebook 破圖的問題 (168.95.1.1 出問題)

最近在 Facebook 上常看到有同事在抱怨破圖,其實是 168.95.1.1 的問題... 在 zsh 下跑一百次查詢可以偵測到對應的問題,不只是 Facebook 的網站,包括 HiNet 自家網站都查不到:

gslin@GSLIN-HOME1404 [~] [01:12/W5] repeat 100 host www.hinet.net 168.95.1.1 | grep REFUSED
Host www.hinet.net not found: 5(REFUSED)
Host www.hinet.net not found: 5(REFUSED)
Host www.hinet.net not found: 5(REFUSED)
Host www.hinet.net not found: 5(REFUSED)
Host www.hinet.net not found: 5(REFUSED)
Host www.hinet.net not found: 5(REFUSED)
Host www.hinet.net not found: 5(REFUSED)

隔壁的 168.95.192.1Google 家的 8.8.8.8 就沒這個問題:

gslin@GSLIN-HOME1404 [~] [01:13/W5] repeat 100 host www.hinet.net 168.95.192.1 | grep REFUSED
gslin@GSLIN-HOME1404 [~] [01:13/W5] repeat 100 host www.hinet.net 8.8.8.8 | grep REFUSED     
gslin@GSLIN-HOME1404 [~] [01:14/W5]

所以 workaround 就呼之欲出了:把 DNS resolver 換成 8.8.8.8

Leave a Reply

Your email address will not be published. Required fields are marked *