<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
LINE-HEIGHT: 1.5; FONT-FAMILY: ËÎÌå; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I'm using Mysql instead of Sqlite, I have imported 500 zones, when I tried
to delete all the zones using 'ods-ksmutil zone delete --all', </DIV>
<DIV>I got</DIV>
<DIV>'</DIV>
<DIV>ERROR: error executing SQL - Cannot delete or update a parent row: a foreign key constraint fails (`KASP`.`dnsseckeys`, CONSTRAINT `dnsseckeys_ibfk_1` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`))</DIV>
<DIV>ERROR: database operation failed - Cannot delete or update a parent row: a foreign key constraint fails (`KASP`.`dnsseckeys`, CONSTRAINT `dnsseckeys_ibfk_1` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`))</DIV>
<DIV>Error: failed to remove zone from database</DIV>
<DIV>'</DIV>
<DIV>I think OpenDNSSEC wants to delete data in table dnsseckeys but forgets to
delete data in table zones first?</DIV>
<DIV> </DIV>
<DIV>And I also got messages bellow when I tried to list the zones in db:</DIV>
<DIV>Found zone test1 in DB but not zonelist.<BR>Found zone test2 in DB but not
zonelist.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>P.S. Is OpenDNSSEC suitable for managing thousands of small zones with
<ShareKeys> enabled?</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV>Stuart</DIV></BODY></HTML>