西安網(wǎng)站建設(shè) | 西安網(wǎng)站制作 | 西安網(wǎng)站設(shè)計(jì) | 西安小程序開(kāi)發(fā) | 兄弟網(wǎng)絡(luò) - 西安網(wǎng)站建設(shè)十余年經(jīng)驗(yàn),值得信賴!
了解市場(chǎng)新觀點(diǎn),內(nèi)部案例剖析,增強(qiáng)服務(wù)意識(shí)與專業(yè)水平。

如何判斷域名的DNS服務(wù)器記錄是否正確

來(lái)源:西安網(wǎng)站制作   日期:2015-06-14 15:00:16   點(diǎn)擊:4170
在Linux/Unix上,可以使用dig工具,在win2000上,可以使用nslookup工具,從互聯(lián)網(wǎng)根服務(wù)器上查詢域名的DNS服務(wù)器。
以dig為例:
_________________________________________________
dig @a.gtld-servers.net abc.com
_________________________________________________
結(jié)果:
_________________________________________________
; <<>> DiG 9.2.1 <<>> @a.gtld-servers.net abc.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1625
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;abc.com. IN A

;; AUTHORITY SECTION:
abc.com. 172800 IN NS sens01.dig.com.
abc.com. 172800 IN NS sens02.dig.com.
abc.com. 172800 IN NS orns01.dig.com.
abc.com. 172800 IN NS orns02.dig.com.

;; ADDITIONAL SECTION:
sens01.dig.com. 172800 IN A 199.181.134.16
sens02.dig.com. 172800 IN A 199.181.135.199
orns01.dig.com. 172800 IN A 63.70.44.44
orns02.dig.com. 172800 IN A 63.70.47.44

;; Query time: 580 msec
;; SERVER: 192.5.6.30#53(a.gtld-servers.net)
;; WHEN: Tue Jul 8 14:43:10 2003
;; MSG SIZE rcvd: 177
_____________________________________________________
錯(cuò)誤結(jié)果:
_____________________________________________________
; <<>> DiG 9.2.1 <<>> @a.gtld-servers.net abcnotexists.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35479
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;abcnotexists.com. IN A

;; AUTHORITY SECTION:
com. 172800 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 2003070701 1800 900 604800 86400

;; Query time: 405 msec
;; SERVER: 192.5.6.30#53(a.gtld-servers.net)
;; WHEN: Tue Jul 8 14:44:44 2003
;; MSG SIZE rcvd: 107
____________________________________________________
可以看到,只有Question,沒(méi)有Answer。或者可以用whois工具:
whois abc.com
[whois.crsnic.net]

Whois Server Version 1.3

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://m.noseofwaxnoseofwax.com
for detailed information.

Domain Name: ABC.COM
Registrar: NETWORK SOLUTIONS, INC.
Whois Server: whois.networksolutions.com
Referral URL: http://m.noseofwaxnoseofwax.com
Name Server: SENS01.DIG.COM
Name Server: SENS02.DIG.COM
Name Server: ORNS01.DIG.COM
Name Server: ORNS02.DIG.COM
Status: REGISTRAR-LOCK
Updated Date: 13-aug-2003
Creation Date: 22-may-1996
Expiration Date: 23-may-2005

>>> Last update of whois database: Tue, 8 Jun 2004 20:06:03 EDT <<<

以win2000 nslookup為例,
nslookup
? server a.gtld-servers.net
? set type=NS
? abc.com

互聯(lián)網(wǎng)根服務(wù)器通常每天刷新一次,新注冊(cè)的域名需要24~48小時(shí),才能在根服務(wù)器中出現(xiàn),修改DNS服務(wù)器情況類似。西安網(wǎng)站建設(shè) http://m.noseofwaxnoseofwax.com

上一篇:如何判斷域名的DNS服務(wù)器記錄本身有沒(méi)有解析     下一篇:如何判斷域名本身已經(jīng)過(guò)期或被停止
掃碼立即溝通
公眾號(hào)加關(guān)注
版權(quán)所有:西安兄弟信息科技有限公司 陜ICP備07012704號(hào)-8   地址:西安市三橋街道恒大都市廣場(chǎng)(1號(hào)線灃東自貿(mào)園站C1口)  營(yíng)業(yè)執(zhí)照    網(wǎng)站地圖  
關(guān)閉
029-86512630 工作:8:30-17:30

*