The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Where is the crontab file stored rajbptl UNIX for Advanced & Expert Users 3 01-18-2008 05:46 AM
Where are routes stored ? hcclnoodles SUN Solaris 5 10-16-2006 08:41 PM
How to Achive IP address through MAC(Ethernet) address krishnacins IP Networking 3 08-29-2005 05:45 PM
Stored Procedures thumsup9 UNIX for Dummies Questions & Answers 2 03-04-2005 06:52 AM
network address and broadcast address? pnxi UNIX for Dummies Questions & Answers 7 11-10-2003 07:29 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2008
zam zam is offline
Registered User
 

Join Date: Jun 2005
Posts: 53
Stumble this Post!
where is Ip address stored

I run - telnet adl001 (where adl001 is a box name) and it works Ok
/etc/hosts file does not have resolution of the ip address for this name
where it can be found ?
Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-22-2008
Registered User
 

Join Date: Jan 2008
Posts: 5
Stumble this Post!
if u r using linux environment then type ipconfig in the command prompt....
It ll show ur ip address....
Reply With Quote
  #3 (permalink)  
Old 01-22-2008
Registered User
 

Join Date: May 2004
Location: Brazil
Posts: 40
Stumble this Post!
Is this your box name?
Otherwise it should be getting names from a DNS server around, take a look at /etc/resolv.conf, there you find information about the DNS servers you are connected to.
Reply With Quote
  #4 (permalink)  
Old 01-22-2008
zam zam is offline
Registered User
 

Join Date: Jun 2005
Posts: 53
Stumble this Post!
This is SUN box. I could not find IP it in vi /etc/resolv.conf
YES ADL001 is the name of the box I am connecting to. I can find the IP address itself on ADL001 in hosts file. But where it is resolved on the box I run telnet from
Reply With Quote
  #5 (permalink)  
Old 01-22-2008
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
posts the line from /etc/nsswitch.conf which starts with "hosts"
Reply With Quote
  #6 (permalink)  
Old 01-22-2008
zam zam is offline
Registered User
 

Join Date: Jun 2005
Posts: 53
Stumble this Post!
Solved

hosts: files dns
Thank you I found it by running nslookup adl001
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0