Class InetNameLookup

java.lang.Object
ghidra.framework.remote.InetNameLookup

public class InetNameLookup extends Object
  • Method Details

    • setDisableOnFailure

      public static void setDisableOnFailure(boolean state)
    • setLookupEnabled

      public static void setLookupEnabled(boolean enable)
    • isEnabled

      public static boolean isEnabled()
    • getCanonicalHostName

      public static String getCanonicalHostName(String host) throws UnknownHostException
      Gets the fully qualified domain name for this IP address or hostname. Best effort method, meaning we may not be able to return the FQDN depending on the underlying system configuration.
      Parameters:
      host - IP address or hostname
      Returns:
      the fully qualified domain name for this IP address, or if the operation is not allowed/fails the original host name specified.
      Throws:
      UnknownHostException - the forward lookup of the specified address failed