mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +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 |
||
---|---|---|
.. | ||
lib | ||
models | ||
routes | ||
services | ||
static | ||
templates | ||
__init__.py | ||
assets.py | ||
decorators.py | ||
default_config.py | ||
swagger-spec.yaml |