fixed a few bugs in the dns import scripts