Strange Hostname being resolved

Discussion in 'Linux Networking' started by tlitterio, Oct 30, 2012.

  1. tlitterio

    tlitterio New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I have a RedHat server running Nagios. When i ping one of the Windows hosts on our LAN it resolves the wrong name?

    I run the following:
    [root<at>localhost /]# ping hostA.domain.com


    it returns:

    PING hostA.geneva-trading.com (192.168.105.49) 56(84) bytes of data.
    64 bytes from hostB.geneva-trading.com (192.168.105.49): icmp_seq=1 ttl=127 time=0.197 ms
    64 bytes from hostB.geneva-trading.com (192.168.105.49): icmp_seq=2 ttl=127 time=0.187 ms
    64 bytes from hostB.geneva-trading.com (192.168.105.49): icmp_seq=3 ttl=127 time=0.209 ms

    ??? Why does it return hostB??? It seems to resolve all other hosts I have tried OK. I looked at the Arp, Hosts file and double checked the resolv.conf; everything looks great! I don't get it... Is there another location where resolvers are stored?

    Thanks!
    Tony
  2. grim76

    grim76 Active Member Staff Writer

    Messages:
    177
    Likes Received:
    48
    Trophy Points:
    28
    You will want to look at the server that is acting as your DNS resolver. That information would likely be coming from that server.
  3. tlitterio

    tlitterio New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Turned out to be the reverse record. I actually turned on DNS scavenging a number of months back for the forward lookup... Didn't realize it needed to be enabled for reverse separately. All seems to be well now. Thanks!
  4. ashishagarwal

    ashishagarwal New Member

    Messages:
    1
    Likes Received:
    2
    Trophy Points:
    0
    HOw to cleaer cahce in Centos Direct command

Share This Page