[Pdns-users] Remove zombie/dead zones on superslave server

Robert L Mathews lists at tigertech.com
Thu Dec 1 00:14:28 UTC 2022

On 11/30/22 9:35 AM, William Edwards wrote:
> `pdnsutil delete-zone` ?

That doesn't work for me:

  $ sudo pdnsutil -v delete-zone example.com
  Nov 30 16:09:25 [bindbackend] Done parsing domains, 2 rejected, 17011 
new, 0 removed
  Failed to delete domain 'example.com'

It's definitely in there:

  $ egrep example.com supermaster.conf
  # Superslave zone 'example.com.' (added: 2022-09-20 12:53:40 -0700) 
(account: ns1)
  zone "example.com" {
	file "/var/lib/powerdns/zones.slave.d/example.com";

Does `pdnsutil delete-zone` work for others when using BIND auto 
secondaries? Is there any way I can make it show more info about why it 
"Failed to delete domain" the zone? (Nothing extra appears in the logs 
when I try this.)

Robert L Mathews

More information about the Pdns-users mailing list