mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* Fix #702: Spurious null MX changes on CloudFlare * Test roundtripping null MX on Cloudflare * Use an if instead of TrimSuffix * Add other providers that support RFC 7505 * Suppress test for non-compliant providers
This commit is contained in:
@@ -609,6 +609,11 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||
tc("Record pointing to @", mx("foo", 8, "**current-domain**")),
|
||||
),
|
||||
|
||||
testgroup("Null MX",
|
||||
not("AZURE_DNS", "GANDI_V5", "NAMEDOTCOM", "DIGITALOCEAN"), // These providers don't support RFC 7505
|
||||
tc("Null MX", mx("@", 0, ".")),
|
||||
),
|
||||
|
||||
testgroup("NS",
|
||||
not("DNSIMPLE", "EXOSCALE"),
|
||||
// DNSIMPLE: Does not support NS records nor subdomains.
|
||||
|
Reference in New Issue
Block a user