]> granicus.if.org Git - pdns/commit
API (Auth): fix hosting of root zone
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 24 Feb 2015 22:46:27 +0000 (23:46 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 24 Feb 2015 22:48:18 +0000 (23:48 +0100)
commit406497f50ca776c26db3df4a56bf560095c4db32
treeceba18c68ec2f747589201a42a5acafcc75d2d1a
parente60773490ba31f58cfd91a1b9b833d0acb984f03
API (Auth): fix hosting of root zone

As discovered by @jpmens in #2216, the API could not create the root
zone, and listing zones would also fail when the root zone was present.

This corrects those bugs, plus another that prevented reading the root
zone, and adds a small API test set for the root zone.

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