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

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.1 build 666 for .NET 4.5
public static int DnsPort { get; set; }

Property Value

Type: Int32
The integer value containing the port number to connect to DNS servers on. The default value is 53 (Domain Name Server port).
MailBeeInvalidArgumentExceptionvalue does not denote a valid port number.
In some rare cases, the developer may need to set it to 42 (Host Name Server port).
See Also