TinyDNS bulk import?
-
Hi all,
Trying to bulk import a few hundred records. Can vi and manually paste them into the /etc/tinydns/root/data file but can't get them into the data.cdb file. Make returns an error, tinydns-data appears to run but doesn't actually work. I can add records through the web GUI just fine but don't want to hand enter hundreds of them! Anybody deal with this already? Am I missing something?
-
So if anybody is wondering, (saw the read stats incrementing there for awhile).
- Make wasn't working because pfSense doesn't have it by default
- tinydns-data actually was working but…
- changes weren't being accepted because the tinydns package under pfSense actually populates the local /etc/tinydns/root/data and data.cdb files from /conf/config.xmlNow if I just had a convenient script to convert the normal tinydns data file into XML that could be dropped into config.xml I'd be set.
Anybody have one handy? :) -
So gave up on finding a good script, (probably none exist since the XML is pfSense specific), and since I don't have time to write one myself just did bulk edits via spreadsheet, text editor and XML editor then pasted into /conf/config.xml. Nothing blew up, seems to be fine. Maybe put this in as a feature request?