Recover deleted zone file

Jay Ford jay-ford at uiowa.edu
Tue Oct 5 17:22:09 UTC 2010


On Tue, 5 Oct 2010, Jay Moore wrote:
> I am running BIND 9.4.3-P1 on slackware  12.2.  The server is only for 
> internal use.  I have accidentally removed one of my zone files, and I have 
> no backup!  Is there a way to restore this zone file from the cache?  I 
> looked at rndc and named options, but don't see anything that will help? 

Assuming zone transfers are allowed:
    dig -t axfr zone_name @127.0.0.1 >rescued_zone_file

________________________________________________________________________
Jay Ford, Network Engineering Group, Information Technology Services
University of Iowa, Iowa City, IA 52242
email: jay-ford at uiowa.edu, phone: 319-335-5555, fax: 319-335-2951


More information about the bind-users mailing list