mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Don't add extra dot after dnsimple SRV record contents (#2195)
Co-authored-by: andrew <> Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user