[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pdns-users
Subject:    Re: [Pdns-users] How to remove zones from BIND backend?
From:       Robert L Mathews via Pdns-users <pdns-users () mailman ! powerdns ! com>
Date:       2022-10-05 17:05:45
Message-ID: c86c6a50-a21d-acca-3190-c8e9c939351b () tigertech ! com
[Download RAW message or body]

There were no replies to my message below, and I'm assuming that that 
means that there's currently no way to do this.

If so, I'll open a feature request on github, but if someone knows 
something I've missed, let me know. Thanks!


On 9/29/22 10:39 AM, Robert L Mathews via Pdns-users wrote:
> I'm using the BIND backend with autoprimaries, and also adding zones 
> with "pdns_control bind-add-zone example.com filename". Both of these 
> successfully add the zone to the named.conf file.
> 
> Is there a way to later *remove* a zone from the named.conf file using 
> pdns_control (or some other programmatic method)?
> 
> I guess I'm looking for something like "pdns_control bind-delete-zone 
> example.com", but the only way I can find to do it is to manually edit 
> the named.conf file and then use "pdns_control rediscover".
> 
> (I've tried "pdnsutil delete-zone example.com", but that just gives 
> "Failed to delete domain 'example.com'".)
> 
> Thanks!

-- 
Robert L Mathews



_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic