diff --git a/provider/recordfilter.go b/provider/recordfilter.go index 97d4f11e83..6c2fa91e32 100644 --- a/provider/recordfilter.go +++ b/provider/recordfilter.go @@ -20,7 +20,7 @@ package provider // Currently A, AAAA, CNAME, SRV, TXT and NS record types are supported. func SupportedRecordType(recordType string) bool { switch recordType { - case "A", "AAAA", "CNAME", "SRV", "TXT", "NS": + case "A", "AAAA", "CNAME", "SRV", "TXT", "NS", "PTR", "MX", "DS": return true default: return false diff --git a/provider/recordfilter_test.go b/provider/recordfilter_test.go index f482dd1cd1..3307fe8b20 100644 --- a/provider/recordfilter_test.go +++ b/provider/recordfilter_test.go @@ -41,6 +41,22 @@ func TestRecordTypeFilter(t *testing.T) { }, { "MX", + true, + }, + { + "PTR", + true, + }, + { + "DS", + true, + }, + { + "SOA", + false, + }, + { + "SPF", false, }, }