How to convert BIND to TinyDNS?

Kristian Vaaf vaaf at broadpark.no
Sat Dec 31 04:09:38 PST 2005


Hello!

I am trying to provide the administrator of my upcoming NS2 with my zonefiles
in the TinyDNS format. But I am having some trouble comprehending its format.

Perhaps the simplicity got to me.

Here is my BIND setup: http://www.home.no/hedhnta/namedb

Here is my imagined TinyDNS equivalent, written as simply as possible:

+mydomain.com::*

+ns1.mydomain.com:213.187.112.70
+ns2.mydomain.com:217.155.55.77
+ns3.mydomain.com:208.139.133.90

@mydomain.com::ninja

+ninja.mydomain.lan:192.168.187.1
+halim.mydomain.lan:192.168.187.2

+domain1.com::*
+domain2.com::*
+domain3.com::*
+domain4.com::*
+domain5.com::*

I have googled like crazy to find a decent script to do this conversion for me.
This was all I found, and it didn't go too well:

./bind-to-tinydns example.com output output.tmp < db.erralionic.com
warning: line 8: ignoring out-of-zone data
fatal: line 16: RR tried to inherit owner from previous record, but there was no previous RR

Thanks!




More information about the freebsd-questions mailing list