DIG
DIG, standing for Domain Information Groper, is a command line toolthat offers very similar functionality to NSLookup. DIG has two modes:
simple interactive mode that will be shown below, and batch mode
allowing multiple queries to be run sequentially.
Finding the Name Servers for a Domain
To use dig for finding the name servers for a domain is much easier
than using NSLookup, however, it is important to note that this can
generate traceable network traffic. To solve this issue, the file spoon.c
(celerity.bartoli.org) can be used to proxy all dig queries, making them
appear to come from another IP address.
dig target.com ns
When typed at a UNIX or Linux based command prompt, this
command will return the name servers and their IP addresses as shown
in Figure 6. There are two parameters used here:
• target.com - This parameter specifies the target domain for the
query.
• ns - This parameter specifies that name server RR's are requested
No comments:
Post a Comment