Importing with zone2nic fails

Started by rainer_d, March 13, 2015, 09:59:46 AM

Previous topic - Next topic

rainer_d

Hi,

I'm trying to import zones by axfr'ing them from the original nameserver.

I use NicTool 2.31.

When I run it, I get:


./zone2nic.pl -z zonename.domain -a -s our.ns                                                                                                         
Name "NicToolServerAPI::use_https_authentication" used only once: possible typo at ./zone2nic.pl line 62.
Logged in as Import-User
Importing zonename.domain:
Cannot encode unnamed element as 'hash'. Will be encoded as 'map' instead
300 - Sanity error: The mailaddr format replaces the @ with a . (dot).
   *** Failed to create zonename.domain: Sanity error : The mailaddr format replaces the @ with a . (dot).


I tried replacing the files with the stuff from this commit:
https://github.com/msimerson/NicTool/commit/e5abad75fc86b423c16dd9a83e8efe5b10c0a2bb

But it does not help, I still get that error-message.

The SOA-record looks like this:

zonename.domain.   86400   IN   SOA   our.ns. postmaster.our.domain. 2013081501 10800 3600 604800 86400

Any advice?
--
FreeBSD - The Power To Serve