]> git.ipfire.org Git - thirdparty/pdns.git/commit
API: Support adding records/comments at zone creation
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 28 Apr 2014 12:36:50 +0000 (14:36 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 28 Apr 2014 12:36:50 +0000 (14:36 +0200)
commitf63168e6cc69877147736bff81457d7cdc25bc88
treeba8929b2fed8f2ade5bdaa968f18ebdb353d5301
parente90b4e38b136a05d44211f20f79c22e7edb8e73b
API: Support adding records/comments at zone creation

Records and comments can now be supplied at zone creation time;
a given SOA record replaces the automatically generated SOA.
If no nameservers are given, we assume the user supplied NS
records as well. (This now allows creating a zone without
NS records, which may be useful for slaves.)

Default SOA serial is now 0 to match other parts of PowerDNS.
SOA-EDIT-API is now honored at creation time.

Fixes #1379.
Fixes #1376.
pdns/ws-auth.cc
regression-tests.api/test_Zones.py