Any python libs for parsing Bind zone files?

前端 未结 5 757
鱼传尺愫
鱼传尺愫 2020-12-06 02:54

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 fi

5条回答
  •  我在风中等你
    2020-12-06 03:11

    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.
    

    I will have a look at dnspython

提交回复
热议问题