internet
 






 

Question by  disciple136 (17)

How should I do a command line lookup for domain names?

 
+7

Answer by  gyles19 (126)

The command to use varies with the operating system installed on your computer. Common commands are 'nslookup', 'dig', and 'host'. 'Ping' can also be used, in a pinch.

 
+7

Answer by  Aral (184)

The typical Unix command for this is to use 'whois', which queries the databases that store the information for details. Type "man whois" at the command line for instructions.

 
+6

Answer by  tedkendall (70)

This command is referred to as the NSLOOKUP command. To run this command line in Windows, open a CMD prompt. Type: "set type=mx" (without quotes), press enter, then "nslookup www. sitename. com".

 
+6

Answer by  tjh1234 (362)

On Windows you should use the command line tool 'nslookup'. This can be used either non-interactively or interactively. The simplest way is 'nslookup www. google. com' - which will return the DNS server used and the IP address(es) associated with that domain name. Interactive use (just type nslookup in a command window) allows you to set additional options and do complicated querieis.

 
You have 50 words left!