View Single Post
  #8  
Old 18th September 2010, 15:07
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

@pst0: I believe you may be stuck on the same thing I ran into when testing this change for myself.

The database structure is not the same as default powerdns ie check the remarked section in /usr/local/ispconfig/server/plugins-enabled/powerdns_plugin.inc.php which contains :

CREATE TABLE `domains` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`master` varchar(128) default NULL,
`last_check` int(11) default NULL,
`type` varchar(6) NOT NULL,
`notified_serial` int(11) default NULL,
`account` varchar(40) default NULL,
`ispconfig_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name_index` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

there's an extra field required (ispconfig_id) which will make it now work properly. do both tables in case.

and you may or may not need to add

$conf['services']['powerdns'] = true;

to your /usr/local/ispconfig/server/lib/config.inc.php

tremors.
__________________
www.emperor-it.com for ISPConfig mods/hacks

Last edited by djtremors; 18th September 2010 at 15:20.
Reply With Quote