nslookup
From Wikipedia, the free encyclopedia
nslookup is a computer program used in Windows and Unix to query Domain Name System (DNS) servers to find DNS details, including IP addresses of a particular computer, MX records for a domain and the NS servers of a domain. The name nslookup means "name server lookup". The most common version of the program is included as part of the BIND package. More modern alternatives to nslookup are the "host" and "dig" programs which also ship with BIND. Both nslookup and dig look up nameserver information from /etc/resolv.conf.
nslookup has the subcommands:
- server NAME (where NAME is the name or IP address of a DNS server to query). It is not always possible to query a specific DNS server as often DNS queries are blocked to prevent denial of service attacks.
- set type=NAME (where NAME is the type of record to look at). For example, set type mx will give the mail records.
[edit] Example usage
Command line:
unix% nslookup example.com Server: 192.168.1.1 Address: 192.168.1.1#53 Non-authoritative answer: Name: example.com Address: 208.77.188.166
Using subcommands:
nslookup > server dns.com Default Server: dns.com Address: 169.254.82.215 > set type=mx > microsoft.com Server: dns.com Address: 64.40.103.249 microsoft.com MX preference = 0, mail exchanger = nullmx.domainmanager.com > exit
[edit] Interpretation of the standard nslookup result
The first two lines are information about the name server delivering the response. The next two lines show the name and IP address of the machine being looked up.
[edit] External links
- Jonathan de Boyne Pollard. "nslookup is a badly flawed tool. Don't use it.". Frequently Given Answers. http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/nslookup-flaws.html. Retrieved August 4, 2005.
- Microsoft. "Using NSLookup.exe". http://support.microsoft.com/kb/200525. Retrieved January 23, 2008.
- Brad Knowles (2001-07-06). "nslookup flaws". comp.protocols.dns.bind. (Web link). — 4 flaws in nslookup
- Barry Margolin (2001-07-06). "nslookup flaws". comp.protocols.dns.bind. (Web link). — a 5th flaw in nslookup
- Daniel J. Bernstein. "Notes on nslookup". http://cr.yp.to/djbdns/nslookup.html. Retrieved August 4, 2005.
- Nslookup Online - Perform an Nslookup online from Australia.
- NSLookup USA - Perform an Nslookup online from United States (Austin Texas).
|
||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
| This network-related software article is a stub. You can help Wikipedia by expanding it. |