From 50a9b9d0a1a6e802814d5cf191189144d947d175 Mon Sep 17 00:00:00 2001 From: Andrew Baxter Date: Tue, 21 Mar 2023 03:46:28 +0900 Subject: [PATCH] Don't add extra dot after dnsimple SRV record contents (#2195) Co-authored-by: andrew <> Co-authored-by: Tom Limoncelli --- providers/dnsimple/dnsimpleProvider.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/providers/dnsimple/dnsimpleProvider.go b/providers/dnsimple/dnsimpleProvider.go index 91d18ee65..1c532f51a 100644 --- a/providers/dnsimple/dnsimpleProvider.go +++ b/providers/dnsimple/dnsimpleProvider.go @@ -119,10 +119,6 @@ func (c *dnsimpleProvider) GetZoneRecords(domain string) (models.Records, error) case "MX": err = rec.SetTargetMX(uint16(r.Priority), r.Content) case "SRV": - parts := strings.Fields(r.Content) - if len(parts) == 3 { - r.Content += "." - } err = rec.SetTargetSRVPriorityString(uint16(r.Priority), r.Content) case "TXT": err = rec.SetTargetTXT(r.Content)