mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-12 10:27:57 +08:00
6f9e2797b7
* Add example include * Replace example includes * Remove old example includes
611 B
611 B
name | parameters | ||||
---|---|---|---|---|---|
MX |
|
MX adds an MX record to the domain.
Priority should be a number.
Target should be a string representing the MX target. If it is a single label we will assume it is a relative name on the current domain. If it contains any dots, it should be a fully qualified domain name, ending with a .
.
{% capture example %}
D("example.com", REGISTRAR, DnsProvider(R53),
MX("@", 5, "mail"), // mx example.com -> mail.example.com
MX("sub", 10, "mail.foo.com.")
);
{% endcapture %}
{% include example.html content=example %}