An NDoc Documented Class Library

SimpleDNSLookup.GetDomainAdminMailBox Method 

Returns the admin email id for the given domain.

public static string GetDomainAdminMailBox(
   string domain
);

Parameters

domain
Domain for which the administrator's email should be returned.

Return Value

Email id of the administrator for the given domain. null if no record is found.

Exceptions

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.

See Also

SimpleDNSLookup Class | Lavantech.Dns Namespace