mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08: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:
parent
0178917fd8
commit
50a9b9d0a1
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue