Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeleteRecords not remove the record... #1

Open
mcarbonneaux opened this issue Nov 5, 2023 · 1 comment
Open

DeleteRecords not remove the record... #1

mcarbonneaux opened this issue Nov 5, 2023 · 1 comment

Comments

@mcarbonneaux
Copy link

when try to remove record by the name

	deletedRecs, err := provider.DeleteRecords(ctx, zone, []libdns.Record{
		{
			Name: "sub",
		},
	})

in the DeleteRecords method :

rr, err := recordToRR(rec, zone)

recordToRR return nil RR...

and crash at

msg.Remove([]dns.RR{rr})

when i add type:

deletedRecs, err := provider.DeleteRecords(ctx, zone, []libdns.Record{
{
	Name: "sub",
	Type: "A",
},
})

they not crash but not remove the record...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant