开发者

Manipulating BIND 9.x Configuration Files with Java

I need to add/delete domain names to BIND 9.x DNS server. That means i need to read/write to zone files. How can I do this operation using Java?

It is possible to read zone fil开发者_高级运维es with sftp (JSch) but parsing, appending files is too complex. Webmin uses perl scripts and perform these operations successfully. DNSBoss uses Java and perform these operations successfully but it is not open source.

It seems dnsjava is helpful but I am not sure, I need to dig it more.

Do you have an idea for this operation? Any open source libraries, APIs which can be helpful?

Thanks a lot,


I realized there is a patch named Bind DZL. I should use it and forget about manipulating files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜