| adddnsmxrec |
Use this method to creates a mail exchange (MX) record for the specified domain name. |
Syntax |
Parameters |
domain |
Domain name for which to add the MX record. This is mandatory parameter. |
mx |
Host name of the mail exchange server. This is mandatory parameter. |
pref |
Priority number to assign to the mail exchange server. A domain name can have multiple mail servers, with a priority number assigned to each server. The lower the priority number, the higher the mail server's priority. When other mail servers have to deliver mail to the specified domain, they begin with the mail server with the lowest priority number, and use other configured mail servers, in priority order, as backups. This is mandatory parameter. Maximum value = 65535. |
ttl |
Time to Live (TTL), in seconds, for the record. TTL is the time for which the record must be cached by DNS proxies. The specified TTL is applied to all the resource records that are of the same record type and belong to the specified domain name. For example, if you add an address record, with a TTL of 36000, to the domain name example.com, the TTLs of all the address records of example.com are changed to 36000. If the TTL is not specified, the Citrix ADC uses either the DNS zone's minimum TTL or, if the SOA record is not available on the appliance, the default value of 3600. Default value = 3600. Maximum value = 2147483647. |
Return Value |
Returns simpleResult |
See Also |