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:
@ -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)
|
||||
|
Reference in New Issue
Block a user