SoftLayer Utility Network::nsLookup
From SoftLayer Development Network Wiki
nsLookup is a member of the SoftLayer_Utility_Network service.
Contents |
Overview
A method used to return the nameserver information for a given address
Return Type
nsLookup returns the string data type.
Headers
Required Headers
nsLookup requires the following headers:
Parameters
nsLookup takes the following parameters:
address
An IP address or hostname to nslookup.
- Type: string
Error Handling
nsLookup throws the following exceptions:
- SoftLayer_Exception_Public
- Throw the exception "Please provide an address to nslookup." if the address parameter is empty.
- SoftLayer_Exception_Public
- Throw the exception "Please provide a valid IP address or hostname." if the address parameter is not a valid IP address or hostname.
Associated Methods
- SoftLayer_Utility_Network::ping
- SoftLayer_Utility_Network::traceroute
- SoftLayer_Utility_Network::whois

