org.apache.whirr.util
Class DnsUtil
java.lang.Object
org.apache.whirr.util.DnsUtil
public class DnsUtil
- extends Object
Utility functions for DNS.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DnsUtil
public DnsUtil()
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.