Skip to content

Commit 3785448

Browse files
author
Till Brehm
committed
Implemented #5237 DNS: xfer / also_notify fields too short
1 parent 2844e9b commit 3785448

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ INSERT IGNORE INTO `dns_ssl_ca` (`id`, `sys_userid`, `sys_groupid`, `sys_perm_us
7979
(NULL, 1, 1, 'riud', 'riud', '', 'Y', 'WoSign', 'wosign.com', 'Y', '', 0);
8080

8181
ALTER TABLE `dns_soa` CHANGE `xfer` `xfer` TEXT NOT NULL DEFAULT '';
82+
ALTER TABLE `dns_soa` CHANGE `also_notify` `also_notify` TEXT NOT NULL DEFAULT '';
83+
ALTER TABLE `dns_slave` CHANGE `xfer` `xfer` TEXT NOT NULL DEFAULT '';

install/sql/ispconfig3.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ CREATE TABLE `dns_slave` (
516516
`origin` varchar(255) NOT NULL DEFAULT '',
517517
`ns` varchar(255) NOT NULL DEFAULT '',
518518
`active` enum('N','Y') NOT NULL DEFAULT 'N',
519-
`xfer` varchar(255) NOT NULL DEFAULT '',
519+
`xfer` TEXT NOT NULL DEFAULT '',
520520
PRIMARY KEY (`id`),
521521
UNIQUE KEY `slave` (`origin`,`server_id`),
522522
KEY `active` (`active`)
@@ -621,7 +621,7 @@ CREATE TABLE `dns_soa` (
621621
`ttl` int(11) unsigned NOT NULL default '3600',
622622
`active` enum('N','Y') NOT NULL DEFAULT 'N',
623623
`xfer` TEXT NOT NULL DEFAULT '',
624-
`also_notify` varchar(255) default NULL,
624+
`also_notify` TEXT NOT NULL DEFAULT '',
625625
`update_acl` varchar(255) default NULL,
626626
`dnssec_initialized` ENUM('Y','N') NOT NULL DEFAULT 'N',
627627
`dnssec_wanted` ENUM('Y','N') NOT NULL DEFAULT 'N',

0 commit comments

Comments
 (0)