<div dir="ltr">Hello<div><br></div><div>I want to migrate from BIND to NSD + ODS, the first part is done, but I'm still getting an error while trying to sign a zone: (replaced my domain name with <a href="http://example.com">example.com</a>, the rest is identical)</div>
<div><br></div><div>[signconf] zone example.com.zone signconf: RESIGN[PT7200S] REFRESH[PT259200S] VALIDITY[PT1209600S] DENIAL[PT1209600S] JITTER[PT43200S] OFFSET[PT3600S] NSEC[50] DNSKEYTTL[PT3600S] SOATTL[PT3600S] MINIMUM[PT3600S] SERIAL[unixtime]<br>
</div><div>[adapter] unable to add rr to zone: soa record has invalid owner name<br></div><div><div>[adapter] error adding RR at line 3: @ IN SOA <a href="http://ns.example.com" target="_blank">ns.example.com</a>. <a href="http://hostmaster.example.com" target="_blank">hostmaster.example.com</a>. <a href="tel:2014032101" value="+12014032101" target="_blank">2014032101</a> 3H 15 1W 3H</div>
<div>[tools] unable to read zone example.com.zone: adapter failed (General error)</div><div>[worker[1]] CRITICAL: failed to sign zone example.com.zone: General error</div></div><div><br></div><div>I tried every possible format of the unsigned zone file, the last was:</div>
<div><br></div><div><div>$ORIGIN <a href="http://example.com" target="_blank">example.com</a>.</div><div>$TTL 2D ; time to live</div><div>@ IN SOA <a href="http://ns.example.com" target="_blank">ns.example.com</a>. <a href="http://hostmaster.example.com" target="_blank">hostmaster.example.com</a>. ( <a href="tel:2014032101" value="+12014032101" target="_blank">2014032101</a> 3H 15 1W 3H )</div>
<div> IN NS <a href="http://ns.example.com" target="_blank">ns.example.com</a>.</div><div> IN NS <a href="http://ns2.example.com" target="_blank">ns2.example.com</a>.</div><div> IN MX 10 <a href="http://mx1.example.com" target="_blank">mx1.example.com</a>.</div>
<div> IN MX 20 <a href="http://mx2.example.com" target="_blank">mx2.example.com</a>.</div></div><div><br></div><div>ns IN A aaa.bbb.ccc.ddd</div><div>mx1 IN A ...</div><div>.</div><div>.</div><div>
<br></div><div>
ods-ksmutil zone add --zone example.com.zone<br></div><div>ods-ksmutil update zonelist<br></div><div><br></div><div>Returns no error, but the zone doesn't get signed with the above errors in log.</div><div><br></div>
<div>If I remove the $ORIGIN line, ods will sign the zone but complains about out-of-zoe data of course.</div>
<div><br></div><div>OS: FreeBSD 10-release - running in jail</div><div><br></div><div>Could you please help?</div><div><br></div><div>Thank you</div><div><br></div><div>P.</div><div><br></div><div><br></div></div>