The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nslookup strangness purest IP Networking 3 12-13-2007 08:42 AM
DNS client nslookup xnightcrawl UNIX for Advanced & Expert Users 3 03-24-2006 03:29 PM
NSLOOKUP script gavcollins Shell Programming and Scripting 1 02-09-2005 10:38 AM
nslookup on linux ??? piltrafa UNIX for Dummies Questions & Answers 2 03-20-2003 05:19 PM
named and nslookup tamemi UNIX for Advanced & Expert Users 3 09-24-2002 09:51 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-09-2009
Felicia23 Felicia23 is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 12
nslookup command?

Hai guys,
In which way does the command,"nslookup", will be helpful? Please give me examples.
Thanks.
  #2 (permalink)  
Old 02-09-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
It gives you information about internet sites and domains

If you use it from the command line:
Code:
nslookup mysite.com
nslookup 1.2.3.4
This gives additional information as well as validates the name/ip address.
To go into "interactive mode" just type nslookup
You can read the man page to see what you can do there.

Not everything will work - depending on the local site's security policy and/or the remote site's security policy.
  #3 (permalink)  
Old 02-09-2009
Felicia23 Felicia23 is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 12
Thanks-jim mcnamara
  #4 (permalink)  
Old 02-11-2009
techlinux techlinux is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 86
nslookup provides additional info about dns, particularly record info, has a lot of possible switches to get specific info about a record. Also can be run interactively. You can use it to get ip address for domain then dig further to get record info. For example if troubleshooting email, you can use it to make sure mx records are present and they are working properly.
  #5 (permalink)  
Old 02-11-2009
Lazydog's Avatar
Lazydog Lazydog is offline
Registered User
  
 

Join Date: Oct 2008
Location: Chester Co., PA
Posts: 73
I would suggest using DIG for DNS lookups/troubleshooting.
Very powerful and returns more information.

DIG output:
Code:
U:\>dig www.unix.com

; <<>> DiG 9.3.1 <<>> www.unix.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 80
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5

;; QUESTION SECTION:
;www.unix.com.                  IN      A

;; ANSWER SECTION:
www.unix.com.           120     IN      A       81.17.242.186

;; AUTHORITY SECTION:
unix.com.               381     IN      NS      ns1.sitelutions.com.
unix.com.               381     IN      NS      ns5.sitelutions.com.
unix.com.               381     IN      NS      ns2.sitelutions.com.
unix.com.               381     IN      NS      ns4.sitelutions.com.
unix.com.               381     IN      NS      ns3.sitelutions.com.

;; ADDITIONAL SECTION:
ns1.sitelutions.com.    170479  IN      A       66.117.40.216
ns2.sitelutions.com.    170479  IN      A       69.26.176.28
ns3.sitelutions.com.    170480  IN      A       66.231.180.140
ns4.sitelutions.com.    170480  IN      A       69.26.176.208
ns5.sitelutions.com.    31857   IN      A       69.93.94.154

;; Query time: 406 msec
;; SERVER: <hidden>
;; WHEN: Wed Feb 11 12:36:01 2009
;; MSG SIZE  rcvd: 228
NSLOOKUP output:

Code:
U:\>nslookup www.unix.com
Server:  <hidden>
Address:  <hidden>

Non-authoritative answer:
Name:    www.unix.com
Address:  81.17.242.186
  #6 (permalink)  
Old 02-13-2009
Felicia23 Felicia23 is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 12
Thanks-techlinux,Lazydog
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0