![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where is the crontab file stored | rajbptl | UNIX for Advanced & Expert Users | 3 | 01-18-2008 06: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 07:52 AM |
| network address and broadcast address? | pnxi | UNIX for Dummies Questions & Answers | 7 | 11-10-2003 08:29 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
if u r using linux environment then type ipconfig in the command prompt....
It ll show ur ip address.... |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
||||
|
||||
|
posts the line from /etc/nsswitch.conf which starts with "hosts"
|
|
#6
|
|||
|
|||
|
Solved
hosts: files dns
Thank you I found it by running nslookup adl001 |
|||
| Google The UNIX and Linux Forums |