DNS round robin

Hello,
I have two connections which are kinda wonky. Both are dual stack and update their IPs every 24 hours. The suffix is static. The IPv6 Addresses I can get directly from my eth0 interface for the IPv4 I would set static routes for https://ipv4.icanhazip.com/ and http://checkip.dyndns.com so I would always know the IPv4 from each connection.
My problem is I don’t know how I update DNS so I end up with 2 IPv4 and 2 IPv6 in the DNS. Does somebody know a script that could do that and is it even possible to update that way or would I always override the IPs from the other connection instead of keeping both updated?

Thanks for help.