如何實現向指定的DNS伺服器查詢ip 匿名使用者 1級 2008-07-21 回答

nslookup 123456。vicp。net ns1。oray。net 222。222。222。222

這個樣子就可以了!

222。222。222。222 就是DNS伺服器的地址。

你自己更改就可以了!

如何實現向指定的DNS伺服器查詢ip 大吉大利 1級 2008-07-21 回答

1。 你不可能透過限制訪問某個特定的dns去限制訪問某些網站。

2。 當你訪問網站的時候,你只要連線到任何一個dns伺服器就可以了,

dns的負責聯絡其他的dns,不是由主機去逐級找的。

3。 可以使用nslookup命令去找具體的dns。比如你找www。126。com的dns

c:\> nslookup

> set querytype=ns

> 126。com

server: ns。sxyzptt。net。cn

address: 202。99。192。66

non-authoritative answer:

126。com nameserver = ns3。nease。net

126。com nameserver = ns。nease。net

ns。nease。net internet address = 202。106。185。75

ns3。nease。net internet address = 220。181。28。3

具體參考:

http://www。cnpaf。net/2005/1-13/09145759028。html dns的工作方式是怎樣的