Upgrading to v2.2.0¶
Overview¶
Version 2.2.0 introduces database structure improvements, user interface enhancements, and several new features to improve DNS zone management.
Upgrade Instructions¶
- Download latest tarball from GitHub
- Backup all files and database before proceeding
- Replace all files with content from the downloaded archive
- Restore your configuration file (inc/config.inc.php) from backup
- Update database structure:
MySQL¶
-- Database structure improvements
ALTER TABLE perm_templ_items MODIFY templ_id int(11) NOT NULL;
ALTER TABLE perm_templ_items MODIFY perm_id int(11) NOT NULL;
ALTER TABLE zones MODIFY id int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE zones MODIFY domain_id int(11) NOT NULL;
ALTER TABLE zones MODIFY owner int(11) NOT NULL;
ALTER TABLE zones MODIFY zone_templ_id int(11) NOT NULL;
PostgreSQL¶
For PostgreSQL users, similar changes are recommended to ensure proper field types and constraints.
Configuration Updates¶
The following new configuration options are available in v2.2.0:
// In your inc/config.inc.php:
// Enable or disable showing zone comments in the UI
$show_zone_comments = true;
// New default SOA record settings
$soa_refresh = 28800; // 8 hours
$soa_retry = 7200; // 2 hours
$soa_expire = 604800; // 1 week
$soa_minimum = 86400; // 24 hours
New Features¶
- Improved support for zone comments management
- Enhanced default SOA record settings
- Database performance optimizations
- User interface improvements
- Bug fixes and stability improvements
Notes¶
- Review all configuration options after upgrade to ensure they match your requirements
- The database structure changes improve data integrity and performance
- If you had customized templates or styles, you may need to reapply your changes