Hi
The purpose and usage of the table x_dns_create is explained in the doc here Customizing default DNS
its default content is in the file /etc/zpanel/etc/build/[distrib]/zpanel_update/10.1.1/sql/zpanel_update.sql
it is
The purpose and usage of the table x_dns_create is explained in the doc here Customizing default DNS
its default content is in the file /etc/zpanel/etc/build/[distrib]/zpanel_update/10.1.1/sql/zpanel_update.sql
it is
Code:
/* Table structure for table `x_dns_create` */
CREATE TABLE IF NOT EXISTS `zpanel_core`.`x_dns_create` (
`dc_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`dc_acc_fk` int(6) DEFAULT NULL,
`dc_type_vc` varchar(50) DEFAULT NULL,
`dc_host_vc` varchar(100) DEFAULT NULL,
`dc_ttl_in` int(30) DEFAULT NULL,
`dc_target_vc` varchar(100) DEFAULT NULL,
`dc_priority_in` int(50) DEFAULT NULL,
`dc_weight_in` int(50) DEFAULT NULL,
`dc_port_in` int(50) DEFAULT NULL,
PRIMARY KEY (`dc_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;
/* Data for the table `x_dns_create` */
INSERT INTO `zpanel_core`.`x_dns_create` (`dc_id_pk`, `dc_acc_fk`, `dc_type_vc`, `dc_host_vc`, `dc_ttl_in`, `dc_target_vc`, `dc_priority_in`, `dc_weight_in`, `dc_port_in`) VALUES
(1, 0, 'A', '@', 3600, ':IP:', NULL, NULL, NULL),
(2, 0, 'CNAME', 'www', 3600, '@', NULL, NULL, NULL),
(3, 0, 'CNAME', 'ftp', 3600, '@', NULL, NULL, NULL),
(4, 0, 'A', 'mail', 86400, ':IP:', NULL, NULL, NULL),
(5, 0, 'MX', '@', 86400, 'mail.:DOMAIN:', 10, NULL, NULL),
(6, 0, 'A', 'ns1', 172800, ':IP:', NULL, NULL, NULL),
(7, 0, 'A', 'ns2', 172800, ':IP:', NULL, NULL, NULL),
(8, 0, 'NS', '@', 172800, 'ns1.:DOMAIN:', NULL, NULL, NULL),
(9, 0, 'NS', '@', 172800, 'ns2.:DOMAIN:', NULL, NULL, NULL);