CNAME doesn't allow *anything* else

This commit is contained in:
Benjamin Sonntag 2015-06-16 14:23:37 +02:00
parent 26e674a3a3
commit a406154fb7
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
UPDATE domaines_type SET compatibility='' where name='cname';
UPDATE domaines_type SET compatibility=REPLACE(compatibility, 'cname,','');

View File

@ -31,7 +31,7 @@ if ($argv[1] == "before-reload") {
('panel-ssl', 'HTTPS AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt,mx,mx2,defmx,defmx2', 'ALL', 0, 0, 1);");
$db->query("INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, enable, only_dns, need_dns, advanced ) VALUES
('url-ssl', 'URL redirection, HTTP & HTTPS', 'URL', '%SUB% IN A @@PUBLIC_IP@@', 'cname,txt,mx,mx2,defmx,defmx2', 'ALL', 0, 0, 1);");
('url-ssl', 'URL redirection, HTTP & HTTPS', 'URL', '%SUB% IN A @@PUBLIC_IP@@', 'txt,mx,mx2,defmx,defmx2', 'ALL', 0, 0, 1);");
$db->query("SELECT * FROM domaines_type WHERE name='roundcube';");
if ($db->next_record()) {