I had this same problem and figured it out with switching to mydns-ng. I had considered switching to mydns-ng until I found out that it's still in development and there has yet to be a "stable" release. In it's current state, mydns-ng is not suitable for use on our production servers.
In post #8, you posted the check_xfer function from axfr.c. That function contains the following query:
Code:
querylen = snprintf(query, sizeof(query), "SELECT xfer FROM %s WHERE id=%u%s",
mydns_soa_table_name, soa->id, mydns_rr_use_active ? " AND active=1" : "");
The problem is that the query is looking for "active=1" in the dns_soa table. However, in ISPConfig 3.0.1.1 (and probably the SVN, as well), the "active" field in the dns_soa table is type "enum('N', 'Y')", so that query will always fail.
If you wish to keep mydns, there are two solutions. Either:
1) Change that query in axfr.c to check for "active='Y'" instead of "active=1" and recompile mydns.
2) Alter the "active" field in the dns_soa table to type "int" or "tinyint" and change lines 178-179 of "/usr/local/ispconfig/interface/web/dns/form/dns_soa.tform.php" to the following:
Code:
'default' => '1',
'value' => array(0, 1)
and change lines 92-94 of "/usr/local/ispconfig/interface/lib/classes/listform_actions.inc.php" to the following:
Code:
if(strtolower($rec[$key]) == '1' or strtolower($rec[$key]) == '0') {
// Set a additional image variable for boolean fields
$rec['_'.$key.'_'] = (strtolower($rec[$key]) == '1')?'x16/tick_circle.png':'x16/cross_circle.png';
Recent comments
1 day 2 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 9 hours ago