InetAddress GetHostName() method takes long time in windows - need timeout option

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 5.0u7
    • Component/s: core-libs
    • x86
    • windows_2003

      When java InetAddress getHostName() method is used to do reverse DNS lookup for the host ip addresses, for ip addresses with incorrect/missing dns entries, getHostName() method takes more than 13 seconds in windows platform. When reverse lookup is done for more than two lakh ipaddresses, the processes run for a long time without any option to timeout the method.
       
      Since this getHostName() method call is a blocking call, need a mechanism to have timeout if it takes more time.

            Assignee:
            Chris Hegarty
            Reporter:
            Priya Sreekumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: