]> granicus.if.org Git - pdns/commit
API: Don't require nameservers list for Slave zones
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 20 May 2014 10:08:07 +0000 (12:08 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 20 May 2014 10:08:07 +0000 (12:08 +0200)
commit4bdff352a932754e5b23b18dc64e83172867bb6d
treec7382f48c0fca27e9c03dfb1c7feaa65c783d597
parent86e401531c0474125b6537b3d8592cadee7661fe
API: Don't require nameservers list for Slave zones

When creating a Slave zone, it usually doesn't make a lot of sense
to create NS records, as they'll be overwritten by the slaving mechanism
anyway.
This allows not passing 'nameservers' in at all.

Fixes PowerDNS/pdnsapi#2.
pdns/ws-auth.cc
regression-tests.api/test_Zones.py