查看域名是否做反向解析的命令

in 服务器类

查看反向解析是否成功,可用如下命令:nslookup –qt=ptr yourIP,从返回的信息中您可以看到反向解析的结果。

nslookup –qt=ptr yourIP

比如我的域名是mailcenter.com.cn
我的邮件服务器地址是: 61.144.222.5
邮箱用户名称格式为username@mailcenter.com.cn
在邮件服务器上设置邮件系统的HELO为:smtp.mailcenter.com.cn

邮件服务器IP为 :61.144.222.5
找当地电信做61.144.222.这个IP反解析到smtp.mailcenter.com.cn
在Windows系统中,在运行命令下 输入 cmd 再在打开的窗口输入 nslookup –qt=ptr 61.144.222.5

返回信息如下:
C:\Documents and Settings\user>nslookup –qt=ptr 61.144.222.5
Server: smtp.mailcenter.com.cn
Address: 61.144.222.5

说明这个IP的反向解析就是成功了。

返回信息如下
C:\Documents and Settings\user>nslookup –qt=ptr 61.144.222.5
*** Can’t find server name for address 61.142.80.154: Non-existent domain
Server: UnKnown
Address: 61.144.222.5

说明这个IP的反向解析没有做。

0 Comments

Leave a Reply

You must be logged in to post a comment.

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>