org.apache.whirr.util
Class DnsUtil

java.lang.Object
  extended by org.apache.whirr.util.DnsUtil

public class DnsUtil
extends Object

Utility functions for DNS.


Constructor Summary
DnsUtil()
           
 
Method Summary
static String resolveAddress(String hostIp)
          resolve the reverse dns name for the given IP address
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DnsUtil

public DnsUtil()
Method Detail

resolveAddress

public static String resolveAddress(String hostIp)
                             throws IOException
resolve the reverse dns name for the given IP address

Parameters:
hostIp -
Returns:
The resolved DNS name.
Throws:
IOException


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.