MailBee.NET Objects 4.0

Global.DnsPort Property

Gets or sets the port on which to communicate with DNS servers.

public static int DnsPort {get; set;}

Property Value

The integer value containing the port number to connect to DNS servers on. The default value is 53 (Domain Name Server port).

Remarks

In some rare cases, the developer may need to set it to 42 (Host Name Server port).

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value does not denote a valid port number.

See Also

Global Class | MailBee Namespace