LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-26-2005, 04:06 AM   #1
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
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.../
 
Old 10-18-2005, 01:20 PM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
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
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do forward AND reverse lookups? veeruk101 Linux - Newbie 3 03-31-2005 10:22 AM
iptables DNS reverse lookups soren625 Linux - Networking 6 03-10-2005 10:06 AM
Caching DNS lookups vikasa Linux - Networking 0 06-26-2003 12:30 PM
Sendail and DNS lookups Hessian Rider Linux - Networking 3 11-05-2002 07:03 AM
Reverse DNS Lookups ascii2k Linux - Networking 2 08-08-2001 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration