Skip to content

Handle updating records with multiple values#29

Open
andsens wants to merge 1 commit intolibdns:mainfrom
orbit-online:ft-multivalue-records
Open

Handle updating records with multiple values#29
andsens wants to merge 1 commit intolibdns:mainfrom
orbit-online:ft-multivalue-records

Conversation

@andsens
Copy link
Contributor

@andsens andsens commented Mar 5, 2026

Previously when creating e.g. A records with multiple IPs one would receive the error message "unexpectedly found more than 1 record for ...".

This change implements code for handling that scenario by grouping records by type and name, and then making the total set of records match the given ones (i.e. update until existing or new list exhausted, then append the remaining new records or delete the remaining existing ones).

EDIT: Highly recommend looking at the diff in split-view. It's a mess to read otherwise.

@andsens andsens force-pushed the ft-multivalue-records branch from c3ef771 to 5e93666 Compare March 5, 2026 13:26
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

Successfully merging this pull request may close these issues.

1 participant