We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e363135 commit b4b098dCopy full SHA for b4b098d
AcmeCaPlugin/Clients/DNS/Rfc2136DnsProvider.cs
@@ -126,9 +126,9 @@ public async Task<bool> DeleteRecordAsync(string recordName)
126
// Create the update message
127
var msg = new DnsUpdateMessage { ZoneName = DomainName.Parse(_zoneName) };
128
129
- // Delete all TXT records for this name
+ // Delete all TXT records for this name using DeleteAllRecordsUpdate
130
var domainName = DomainName.Parse(cleanName);
131
- msg.Updates.Add(new DeleteRecordUpdate(new TxtRecord(domainName, 0, string.Empty)));
+ msg.Updates.Add(new DeleteAllRecordsUpdate(domainName, RecordType.Txt));
132
133
// Sign with TSIG
134
msg.TSigOptions = new TSigRecord(
0 commit comments