<div dir="ltr">Hello,<br><br>I wanted to use zone2sql to append chunks of zones to existing domains, i noticed that when running :<br><br>zone2sql --start-id=10 --zone=/home/user/testzone.zone<br><br>the domain_id starts at -1, taking a look at the code, this happens around line 293 :<br>
<br>dirty_hack_num=-1; // trigger first SOA output<br><br>i believe this is not the desired behavior, if i do not have a complete zone, and i want to generate queries that fit to the zone i know the id of ... i do not seem to be able to do it unless commenting the above line, but this would probably break something else ... no? (starting zones at id 0 when encoutering SOA) ?<br>
<br>so is there a need for a new option ? something like --force-domain-id ? i belive the current behaviour is incorrect, and that start-id should be used even for single zone files, and 0 or -1 should not be used unless start-id was not specified. and no need for new option. correct? <br>
<br><br><br>Cheers,<br>-- <br>Maysara A. A.<br>
</div>