Returns the Canonical Name for a given hostname.
Canonical hostname for the given hostname. null if no record is found.
| Exception Type | Condition |
|---|---|
| SocketException | If the response is not received within the Timeout period. |
| Exception | If the Name Server can't be determined or any other internal error occurs. |