若从 IP 出发遍历整个DNS系统来验证,将会因工程浩大而无法实现。因此,RFC1035 定义了 PTR(Pointer Record)记录。PTR 记录将 IP 地址指向域名。 PTR记录,是电子邮件系统中的邮件交换记录的一种;另一种邮件交换记录是A记录(在IPv4协议中)或AAAA记录(在IPv6协议中)。PTR记录常被用于反向地址解析。 PTR记录,是电子...
1.2.3 拓展: PTR反向DNS解析(8.8.8.8) 1.2.4 帮助界面 1.2.5 关于querytype和type的小疑惑 1.2.6 设置查询类型 1.2.7 NS(Nameserver DNS record) 1.2.8 A(查看 IP 地址) 1.2.9 MX(Mail eXchange record) 1.2.10 CNAME(Canonical Name record) 2.dig 2.1 dig简介 2.2 dig应用 3.host 3.1host简介 3....
IfComputerToFindis an IP address and the query is for an A or PTR resource record type, the name of the computer is returned. IfComputerToFindis a name and does not have a trailing period, the default DNS domain name is appended to the name. This behavior depends on the state of the...
注意到,在对google.com进行查询时,Mac 返回的结果并没有非权威服务器提示,而Windows下的命令却提示了,这是因为 8.8.8.8 这个 DNS 服务器正是谷歌的权威名字服务器,可以使用nslookup -ty=ptr 8.8.8.8验证,ptr也是一种记录类型,可以用进行反向DNS解析(Reverse DNS Lookup),拓展链接:reverse-dns-lookup If a hos...
{help|?} 显示nslookup子命令的简短总结。 注释 如果ComputerToFind是IP地址,并且查询类型为A或PTR资源记录类型,则返回计 算机的名称。如果ComputerToFind是一个名称,并且没有跟踪期,则向该名称添加默认 DNS域名。此行为取决于下面set子命令的状态:domain、...
and so on root=NAME -set root server to NAME retry=X -set number of retries to X timeout=X -set initial time-out interval to X seconds type=X -set query type (forexample,A,ANY,CNAME,MX, NS,PTR,SOA,SRV) querytype=X -same as type ...
-t TYPE - list records of the given type (for example, A, CNAME, MX, NS, PTR, and so on) view FILE - sort an 'ls' output file and view it with pg exit - exit the program 通过在命令提示符下运行 set 命令,可以在 Nslookup.exe 中设置许多不同的选项。要得到这些选项的完整列表,只需...
IfComputerToFindis an IP address and the query is for an A or PTR resource record type, the name of the computer is returned. IfComputerToFindis a name and does not have a trailing period, the default DNS domain name is appended to the name. This behavior depends on the state of the...
Changes the resource record type for the query. Syntax 複製 set querytype=<ResourceRecordType> Parameters Parameter: <ResourceRecordType> Description: Specifies a DNS resource record type. The default resource record type is A. The following table lists the valid values for this command. ...
IfComputerToFindis an IP address and the query is for an A or PTR resource record type, the name of the computer is returned. IfComputerToFindis a name and does not have a trailing period, the default DNS domain name is appended to the name. This behavior depends on the state of the...