nslookup example

Another Update: I've seen on Slashdot recently that nslookup is going the way of the do-do.  Try "host" instead...


Update: OK, I've been doing this entirely too difficultly.

The simple way to use nslookup is in a form similar to this example:

nslookup www.test-this-host.ca ns1.test-name-server.com
nslookup mx.ivydsl.com 216.113.192.3

(i.e. nslookup [host to search for] [server to query (optional)]

Adding a "-d" option returns as much info as nslookup can get for you. Like list of hosts and stuff.

nslookup -d www.test-this-host.ca ns1.test-name-server.com



A few words on using NSLOOKUP to get the information for a domain registration from the DNS system.

Start nslookup in interactive mode:

NSLOOKUP

Then set the server to query:

server=xxx.xxx.xxx.xxx to be the same as the DNS server for the domain that you are looking up.

ls-a...

Related tools:

There is the "dig" command in Linux. It is supposed to query all the info from the responsible DNS server.

Or web based: http://www.network-tools.com/.


tags: nslookup, domain, whois

Related Scribbles:
  • Internet Stuff
  • Notes
  • DNS and Domain Stuff
  • Linux Commands


  • ID: 282
    Author:
    leonard
    Date Updated:
    2010-05-16 23:12:34
    Date Created:
    2003-11-14 18:56:44

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> nslookup example
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.