资源说明:Convert zone files from the BIND DNS server into configs for djbdns's tinydns
bind-to-tinydns Daniel Erat================================================================================ An important note ================================================================================ I wrote this program more than ten years ago and don't trust its management of memory used to store strings. If you plan to use it to convert untrusted data, I strongly recommend that you use a different program or port this one to a language that has a built-in string type (Go would be a good choice). What it does / Why it does it ================================================================================ This program attempts to convert a BIND 9 zone file into the tinydns-data format natively used by the tinydns component of Dan Bernstein's djbdns package (http://cr.yp.to/djbdns.html). This can be useful if you need to periodically convert zones that are stored in BIND format to tinydns format and you don't have the willingness or the oodles of memory needed to run a copy of BIND from which you can slave the zones with axfr-get (think >100 MB DNSbl zones, for instance). For one-time conversions, you should instead use the AXFR procedure described by Dan (http://cr.yp.to/djbdns/run-server-bind.html). Getting / Compiling ================================================================================ The newest version of this program is available from my homepage (http://erat.org/). After downloading the source, extract it and run "make". Copy bind-to-tinydns wherever you want after this (I would recommend /usr/local/bin). Edit the Makefile and source or email me if it doesn't work. Usage ================================================================================ bind-to-tinydns is invoked in the following manner: bind-to-tinydns
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
