domain name 查詢順序問題 - Linux
By Queena
at 2010-03-18T21:33
at 2010-03-18T21:33
Table of Contents
請問一下 當我在我的 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)
--
Tags:
Linux
All Comments
By Zenobia
at 2010-03-21T20:58
at 2010-03-21T20:58
By Kristin
at 2010-03-23T13:03
at 2010-03-23T13:03
By Victoria
at 2010-03-24T04:09
at 2010-03-24T04:09
By Skylar Davis
at 2010-03-24T11:00
at 2010-03-24T11:00
By Caroline
at 2010-03-29T06:57
at 2010-03-29T06:57
By Ina
at 2010-04-02T09:28
at 2010-04-02T09:28
By Enid
at 2010-04-06T05:53
at 2010-04-06T05:53
Related Posts
Linux 系統時間校對
By Charlie
at 2010-03-18T19:17
at 2010-03-18T19:17
Linux 系統時間校對
By Cara
at 2010-03-18T17:01
at 2010-03-18T17:01
Linux 系統時間校對
By Sierra Rose
at 2010-03-18T15:54
at 2010-03-18T15:54
awk 如何找出兩檔案相同字串
By Cara
at 2010-03-18T15:02
at 2010-03-18T15:02
cron小偷懶
By John
at 2010-03-18T14:31
at 2010-03-18T14:31