views:

166

answers:

1

Hi,

This is related to a similar question about BIND, but in this case I'm trying to see if there's any easy way to parse various zone files into a dictionary, list, or some other manageable data structure, with the final goal being committing the data to a database.

I'm using BIND 8.4.7 and Python 2.4. I may be able to convince management to use a later Python version if needed, but the BIND version is non-negotiable at the moment.

+1  A: 

ISTM, easyzone might meet your needs. It sits on top of dnspython, which would be an alternative API.

Martin v. Löwis