LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Reverse Lookups (http://www.linuxquestions.org/questions/linux-networking-3/reverse-lookups-367091/)

abhijeetudas 09-26-2005 04:06 AM

Reverse Lookups
 
Mite sound a little strange but..

On some machine if i say
[root@ns1 ~]# w
14:34:08 up 4 min, 2 users, load average: 0.81, 0.64, 0.28
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 <IPADDR> 14:31 0.00s 21.56s 0.00s w
[root@ns1 ~]#



& some times it says..

[root@myhost ~]# w
14:34:08 up 4 min, 2 users, load average: 0.81, 0.64, 0.28
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 test.me.com 19:31 0.00s 21.56s 0.00s w
[root@myhost ~]#


how does it resolve the name in one and not the other..
what i want to know is where is this setting ..
such that it resolves the IP address to the name.
Both the machines use the same DNS server.. so i would not look at /etc/resolv.conf

PS i use FC3


thanks.../

routers 10-18-2005 01:20 PM

there u go , i hope u can figure out :)

~$w
01:57:12 up 12:31, 5 users, load average: 0.15, 0.14, 0.09
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
rou :0 - 15:21 ?xdm? 31:16 0.10s /bin/sh /usr/bin/startkde
rou pts/1 - 15:21 10:35m 0.00s 29.95s kded [kdeinit]
rou pts/2 192.168.0.88 01:55 0.00s 0.07s 0.01s w
rou pts/3 noc 01:56 47.00s 0.03s 0.03s -bash
root pts/4 192.168.0.88 01:57 7.00s 0.04s 0.04s -bash


~$cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 tes localhost.localdomain localhost
192.168.0.11 noc


All times are GMT -5. The time now is 01:59 PM.