1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CLOUDFLAREAPI: Fix TXT records with quotes

This commit is contained in:
Tom Limoncelli
2022-06-16 15:19:44 -04:00
parent ffcc77a40a
commit c3f52d228a
2 changed files with 4 additions and 4 deletions

View File

@ -42,6 +42,7 @@ func (rc *RecordConfig) PopulateFromString(rtype, contents, origin string) error
case "SOA":
return rc.SetTargetSOAString(contents)
case "SPF", "TXT":
fmt.Printf("DEBUG: popFrmStr txt=%q\n", contents)
return rc.SetTargetTXTString(contents)
case "SRV":
return rc.SetTargetSRVString(contents)