Please, can you help me with this issue http://bugtracker.ispconfig.org/index.php?do=details&task_id=3480
Helo, thank you with this domain-ip template I'm using one more, universal record pointig to hosting, where everyone just add IP address, i have changed it according your first template [ZONE] origin={DOMAIN}. ns=ns2.tvujweb.cz. mbox=hostmaster.tvujweb.cz. refresh=3600 retry=1800 expire=1814400 minimum=7200 ttl=7200 [DNS_RECORDS] A|{DOMAIN}.|109.123.220.7|0|7200 A|*|109.123.220.7|0|7200 A|mail|109.123.220.6|0|7200 CNAME|mysql|mysql1.tvujweb.cz.|0|7200 MX||mail.{DOMAIN}.|10|7200 MX||mxbackup.tvujweb.cz.|100|7200 NS|{DOMAIN}.|ns2.tvujweb.cz.|0|7200 NS|{DOMAIN}.|ns.tvujweb.com.|0|7200 but getting message 30.04.2014-10:21 - WARNING - Writing BIND domain file failed: /etc/bind/master/pri.test004.cz dns_master_load: /etc/bind/master/pri.test004.cz:15: mysql.test004.cz: CNAME and other data zone test004.cz/IN: loading from master file /etc/bind/master/pri.test004.cz failed: CNAME and other data zone test004.cz/IN: not loaded due to errors. I think its cause by CNAME record Can you correct this one for me also ? Regards RH
i'm failing also when try to add CNANE manually both mysql 7200 CNAME mysql1.tvujweb.cz. mysql.test005.cz. 86400 CNAME mysql1.tvujweb.cz. are giving error 30.04.2014-10:26 - WARNING - Writing BIND domain file failed: /etc/bind/master/pri.test005.cz dns_master_load: /etc/bind/master/pri.test005.cz:15: mysql.test005.cz: CNAME and other data zone test005.cz/IN: loading from master file /etc/bind/master/pri.test005.cz failed: CNAME and other data zone test005.cz/IN: not loaded due to errors. ?
Does mysql1.tvujweb.cz. exist as a-record in the target zone? If this works, please try to leave out the ttl: mysql.test005.cz. CNAME mysql1.tvujweb.cz. and check if it works then.
Hello, yes A record exists (does it have to be A record, why not CNAME ?) and i can't leave TTL out, getting error ERROR Min. TTL time is 60 seconds. have you guys tested this dns check-script before release? can i turn it off somehow and go back to behaviour of 3.0.5.3 ? I have here abotu 1000 domains it is big problem for me, when no one can add CNAME record ((
The dns check script is from bind, not ispconfig. If ispconfig wont use it, then bidn would simply ignore the zone and throwing an error in syslog. And yes, we tested it off course. I will check whats wrong with the syntax.
There must be a different problem in that zone, maybe in a line before the cname or after the cname? I created the following zone with several test records in ispconfig 3.0.5.4p1 on debian wheezy and it works fine and does not cause any bind errors: Code: $TTL 86400 @ IN SOA ns1.example.com. admin.example.com. ( 2014042907 ; serial, todays date + todays serial # 28800 ; refresh, seconds 7200 ; retry, seconds 604800 ; expire, seconds 86400 ) ; minimum, seconds ; example.com. 86400 A 192.168.1.105 mail 86400 A 192.168.1.105 ns1 86400 A 192.168.1.105 ns2 86400 A 192.168.1.105 www 86400 A 192.168.1.105 google 86400 CNAME google.com. ns3 86400 CNAME ns2 test1 86400 CNAME example.com. example.com. 86400 MX 10 mail.example.com. @ 86400 NS ns2.example.com. example.com. 86400 NS ns1.example.com. Please note the @ in the one ns line, thats a fix that we implemented to work around the problems that bind gets when you leave the hostname field empty. ispconfig now inserts @ automaticaly in the file then, otherwise bind fails to parse the line corectly as it thinks that the ttl is the hostname.
Please, can you fix for me CNAME line in following template? [ZONE] origin={DOMAIN}. ns=ns2.tvujweb.cz. mbox=hostmaster.tvujweb.cz. refresh=3600 retry=1800 expire=1814400 minimum=7200 ttl=7200 [DNS_RECORDS] A|{DOMAIN}.|109.123.220.7|0|7200 A|*|109.123.220.7|0|7200 A|mail|109.123.220.6|0|7200 CNAME|mysql|mysql1.tvujweb.cz.|0|7200 MX||mail.{DOMAIN}.|10|7200 MX||mxbackup.tvujweb.cz.|100|7200 NS|{DOMAIN}.|ns2.tvujweb.cz.|0|7200 NS|{DOMAIN}.|ns.tvujweb.com.|0|7200
The issue is not the cname, the issue is in the line before the cname. Fixed template: [ZONE] origin={DOMAIN}. ns=ns2.tvujweb.cz. mbox=hostmaster.tvujweb.cz. refresh=3600 retry=1800 expire=1814400 minimum=7200 ttl=7200 [DNS_RECORDS] A|{DOMAIN}.|109.123.220.7|0|7200 A|*|109.123.220.7|0|7200 A|mail|109.123.220.6|0|7200 CNAME|mysql|mysql1.tvujweb.cz.|0|7200 MX|{DOMAIN}.|mail.{DOMAIN}.|10|7200 MX|{DOMAIN}.|mxbackup.tvujweb.cz.|100|7200 NS|{DOMAIN}.|ns2.tvujweb.cz.|0|7200 NS|{DOMAIN}.|ns.tvujweb.com.|0|7200 But instead of using the fixed template, better install the 2054_dns patch which enabes a workaround for records with TTL that have no hostname like in your template. http://www.ispconfig.org/page/en/ispconfig/patches.html
THANK YOU! it is working now, i will look into patch. What will happen without patch, when i run Tols=->Resync records ? the script is checkign only new records, old ones will continue working? Anyway... it maybe for discussion if you want to send email to admin, when wrong record is added, or send email to logged user. Otherwise user will never know that he did input wrong data into DNS
In the dns_template table of the ispconfig database. This is logged as warning in the ispconfig log, so you can see this in the ispconfig monitor when you set the loglevel to warning under system > server config.