Remove non-local zones from (ex-) slave server

avantis

Verified User
Joined
Nov 13, 2006
Messages
37
Hello,

I am wondering if there is a way to auto-remove the non-local zones from a slave server.

To manually remove hundreds or thousands of zones is not funny at all :)
 
I am wondering if there is a way to auto-remove the non-local zones from a slave server.

To manually remove hundreds or thousands of zones is not funny at all :)
The first step would be to grep out all the zones marked slave from your named conf file; then remove those lines and delete the zone file.

(You can write a script to do it all.)

Then restart the nameserver.

Jeff
 
Back
Top