Saturday, November 9, 2013

NSlookup

Here are the few Examples for using NSLookup

nslookup -q=a "IP.domain.com"
Eg. nslookup -q=a "1.1.1.1.bl.spamcop.net"

In above examples, i am using bl.spamcop.net as an example and if you want to test with any other domain, use IP along with domain name.

set vc   // for tcp queries
server <10.2.124.133>

nslookup q=ptr
> type IP address to check whether IP address has reverse IP

in the same way you can change the query type to mx, a, txt,ns

q=mx //to query about MX record of the domain
q=a    //All
q=txt // TXT record
q=ns //name server 


Other tools can be used
--------------------------------
c:\> ARP -a 
c:\> Route Print

c:\> pathping -4 microsoft.com  (Microsoft.com domain is used as an Example)

No comments:

Post a Comment