Problem:
If a host has multiple A records, changing the IP address deletes all A
records with the old IP address and creates a new A record with the
hostname and new IP address.
Fix:
Any functions used for editing a host should be updated to call only
update_* functions wherever possible (and said functions should be created
where they don't exist). Really, we should be doing 'update dns_records
set ip_content=%(new_address)s where ip_content=%(old_address)s' here.
Additional information:
We may also want CNAMEs to be updated similarly when hostname is changed.
Original issue reported on code.google.com by ekoyle@gmail.com on 24 Jun 2009 at 2:56
Original issue reported on code.google.com by
ekoyle@gmail.com
on 24 Jun 2009 at 2:56