diff --git a/SolidCP/Sources/SolidCP.Providers.DNS.SimpleDNS90/Models/Response/ZoneRecordsResponse.cs b/SolidCP/Sources/SolidCP.Providers.DNS.SimpleDNS90/Models/Response/ZoneRecordsResponse.cs index 8ff1fd74a..d80b4bf50 100644 --- a/SolidCP/Sources/SolidCP.Providers.DNS.SimpleDNS90/Models/Response/ZoneRecordsResponse.cs +++ b/SolidCP/Sources/SolidCP.Providers.DNS.SimpleDNS90/Models/Response/ZoneRecordsResponse.cs @@ -121,6 +121,14 @@ public static ZoneRecordsResponse ToZoneRecordsResponse(this DnsRecord record, s } response.Data = $"{record.RecordData}"; break; + case DnsRecordType.TXT: + if (!record.RecordData.StartsWith("\"") && record.RecordData.Length > 0) + { + response.Data = $"\"{record.RecordData}\""; + break; + } + response.Data = record.RecordData ?? ""; + break; default: response.Data = record.RecordData ?? ""; break;