Adds a top (0) priority DNS server under the specified IP address to the collection and sorts the collection according to the elements priorities.
A reference to DnsServer object which was created based on the given parameter values and then added to the collection.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | host is not a valid IP address string. |
DnsServerCollection Class | MailBee.DnsMX Namespace | DnsServerCollection.Add Overload List