是否有用于解析绑定区域文件的python库? [英] Any python libs for parsing Bind zone files?

查看:72
本文介绍了是否有用于解析绑定区域文件的python库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何用于解析绑定区域文件的python库? 基本上,这将有助于添加/删除区域和记录. 即使有人手动修改了区域文件,这也需要起作用,因此每次覆盖区域文件都不是解决方案.

Any python libs for parsing Bind zone files? Basically something that will aid in adding/removing zones and records. This needs to work even if someone modifies the zone file by hand so overwriting the zone files every time is not a solution.

推荐答案

我无法将bicop用于此类经典区域文件:

I was unable to use bicop for classical zone files like these:

    $TTL 86400
@   IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
    2006040800   ; serial
    14400        ; refresh
    1800         ; retry
    604800       ; expire
    86400 )      ; minimum

@

                    IN NS      ns1.first-ns.de.

我将看看 dnspython

这篇关于是否有用于解析绑定区域文件的python库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆