Reverse lookup not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • onequestion
    New Member
    • Dec 2007
    • 8

    Reverse lookup not working

    Hi friends..
    Reverse lookup is not working for some ip.

    nslookup www.aircell.com gives 74.50.0.200 but
    nslookup 74.50.0.200 gives sirona.lunarser vers.com

    To perform DNS i'm using this code

    String tmp = InetAddress.get ByName(temp1.ge tAuthority()).g etCanonicalHost Name();

    where temp1 gets ip address at run time. How to solve this problem?

    Thanks..
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    There is nothing wrong with that reverse lookup.
    More then one name can map to an ip address, and is rather common.
    Example:
    Originally posted by NSLOOKUP
    > google.com
    Non-authoritative answer:
    Name: google.com
    Addresses: 72.14.207.99, 64.233.187.99, 64.233.167.99

    > 72.14.207.99
    Name: eh-in-f99.google.com
    Address: 72.14.207.99

    Comment

    Working...