Changeset 761 for trunk/pdns/pdns/docs/pdns.sgml
- Timestamp:
- 04/22/06 17:30:35 (7 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/docs/pdns.sgml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/docs/pdns.sgml
r755 r761 8504 8504 </para> 8505 8505 <para> 8506 Zone2sql with the --gmysql flag also assumes this layout is in place. 8507 </para> 8508 <para> 8506 8509 This schema contains all elements needed for master, slave and superslave operation. Depending on which features will be used, the 'GRANT' statements 8507 8510 can be trimmed to make sure PDNS cannot subvert the contents of your database. 8508 8511 </para> 8509 8512 <para> 8510 Zone2sql with the --gmysql flag also assumes this layout is in place. 8513 When using the InnoDB storage engine, we suggest adding the following lines to the 'create table records' command above: 8514 <programlisting> 8515 CONSTRAINT `records_ibfk_1` FOREIGN KEY (`domain_id`) REFERENCES `domains` 8516 (`id`) ON DELETE CASCADE 8517 </programlisting> 8518 </para> 8519 <para> 8520 This automates deletion of records on deletion of a domain from the domains table. 8511 8521 </para> 8512 8522 </sect2>