mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
af902f24a2
Starting with the very first commit, the update was always done with two api calls: one for DELETE and one for REPLACE. It is however perfectly valid and save to do both at once, which makes it atomic, so no need for the rollback. Plus it only updates the serial once. There is no point in sending the full RRset data when deleting it, the key attributes to identify it are enough. This also make the behaviour consistent with the api docs [0] where it says "MUST NOT be included when changetype is set to DELETE." [0] https://doc.powerdns.com/authoritative/http-api/zone.html#rrset |
||
---|---|---|
.. | ||
__init__.py | ||
account_user.py | ||
account.py | ||
api_key_account.py | ||
api_key.py | ||
base.py | ||
domain_setting.py | ||
domain_template_record.py | ||
domain_template.py | ||
domain_user.py | ||
domain.py | ||
history.py | ||
record_entry.py | ||
record.py | ||
role.py | ||
server.py | ||
setting.py | ||
user.py |