[Pdns-users] zone2sql bug/problem

Thomas Andrews tandrews at grok.co.za
Wed Jun 29 12:21:07 UTC 2011


On 06/29/2011 02:05 PM, Craig Whitmore wrote:
>
> On 28/06/11 11:56 PM, "Thomas Andrews"<tandrews at grok.co.za>  wrote:
>
>    
>> Hi,
>>
>> I have the debian package pdns-server version 2.9.22-8 installed.
>>
>> The zone2sql man page refers to an option  --startid=<id>
>> This appears to be invalid though, because using it I get this error:
>>      
> I have checked zone2sql in the latest version and.. Its quite broken and
> works a little different
>
> As the domain_id is a auto_increment number it makes no real difference
> why you need to specify the start_id but if you wanted to in the zone2sql
> its not used anyway as far as I can tell checking the source for the
> latest version...
>    

Thanks Craig. You are quite right about it missing the line in the 
'domains' table. I ended up writing a cumbersome script involving a 
temporary table to work around it.

Regards,
Thomas



More information about the Pdns-users mailing list