請問一下 當我在我的 hosts 檔下面定義好 ip domain NAME 的對應
例如 192.168.0.5 a.b.com
但是當我用 nslookup 查詢 a.b.com 的時候,解出來的資料卻不是192.168.0.5
而是 DNS 回應給我的資料。
/etc/nsswitch.conf 中 hosts的設定是先 file 後 dns
那位什麼還是會跑去問 dns 呢
--
我真的很羞澀.............(≧<>≦)
... .. . 阮囊羞澀 ( ̄ε(# ̄) #○=(一-一o)
--
例如 192.168.0.5 a.b.com
但是當我用 nslookup 查詢 a.b.com 的時候,解出來的資料卻不是192.168.0.5
而是 DNS 回應給我的資料。
/etc/nsswitch.conf 中 hosts的設定是先 file 後 dns
那位什麼還是會跑去問 dns 呢
--
我真的很羞澀.............(≧<>≦)
... .. . 阮囊羞澀 ( ̄ε(# ̄) #○=(一-一o)
--
All Comments