cleanup apex
clean up dname
get the code there to write the db
output adapter: write zonefile
print rr
print domain
print db
print rrset, fix log rrset
print zone
some small fixes
enabling tools write comes with some assertions and debug prints
clone rr into zone mem and log rr
print -1 if is -1
handle ragel eof ptr
NS, MD, MF, CNAME
MB, MG, MR
NULL
start with WKS
PTR
start with HINFO, MINFO