From 905b1eb80bf5011c0eda1e9a5628aa238646a92a Mon Sep 17 00:00:00 2001 From: David Dymko Date: Tue, 30 Jul 2019 14:39:25 -0400 Subject: [PATCH] vultr: quote TXT record (#940) --- providers/dns/vultr/vultr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/vultr/vultr.go b/providers/dns/vultr/vultr.go index e26555a1..988267c8 100644 --- a/providers/dns/vultr/vultr.go +++ b/providers/dns/vultr/vultr.go @@ -90,7 +90,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error { name := d.extractRecordName(fqdn, zoneDomain) - err = d.client.DNSRecord.Create(ctx, zoneDomain, "TXT", name, value, d.config.TTL, 0) + err = d.client.DNSRecord.Create(ctx, zoneDomain, "TXT", name, `"`+value+`"`, d.config.TTL, 0) if err != nil { return fmt.Errorf("vultr: API call failed: %v", err) }