mirror of
https://github.com/go-acme/lego.git
synced 2024-11-29 09:52:07 +02:00
autodns: removes TXT records during CleanUp. (#1141)
This commit is contained in:
parent
a7eb2cd258
commit
b59dffbede
@ -74,7 +74,7 @@ func (d *DNSProvider) addTxtRecord(domain string, records []*ResourceRecord) (*Z
|
||||
}
|
||||
|
||||
func (d *DNSProvider) removeTXTRecord(domain string, records []*ResourceRecord) error {
|
||||
zoneStream := &ZoneStream{Adds: records}
|
||||
zoneStream := &ZoneStream{Removes: records}
|
||||
|
||||
_, err := d.makeZoneUpdateRequest(zoneStream, domain)
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user