Bruno mentioned an existing DNS management tool written in Python. It might be worthwile to have a look at it. We might present a collection of interesting tools written in Python and available for ETH Sysadmins.