View Single Post
  #1  
Old 27th November 2011, 21:36
pjanzen pjanzen is offline
Junior Member
 
Join Date: Jun 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 3.0.4.1 and bind9

Hi All,

Today I upgraded to version 3.0.4.1 and all when fine untill I updated a zone in the dns module, It cleared the zone file right out. I have tried to troubleshoot this but I am stuck. I see the zone and record in the GUI and I see it is inserted into the database. The (not so) funny thing is that when I create a new domain the file is created but all the A and MX and NS records are not added to the file.

This is what I get from the logfile.

/var/log/ispconfig/ispconfig.log

Code:
27.11.2011-21:17 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
27.11.2011-21:17 - DEBUG - Found 7 changes, starting update process.
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_soa (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`origin`,`ns`,`mbox`,`serial`,`refresh`,`retry`,`expire`,`minimum`,`ttl`,`active`,`xfer`,`also_notify`,`update_acl`) VALUES ('13','1','0','riud','riud','','5','paul.j2ict.net.','ns1.j2ict.net.','dnsadmin.j2ict.nl.','2011112701','28800','7200','604800','86400','86400','Y','','','')
27.11.2011-21:17 - DEBUG - Calling function 'soa_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_soa_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'soa_insert' from plugin 'bind_plugin' raised by event 'dns_soa_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND domain file: /etc/bind/pri.paul.j2ict.net
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 321
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 322
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 323
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 324
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 325
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 326
27.11.2011-21:17 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:17 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:17 - DEBUG - Processed datalog_id 327
Adding a new record to the sub domain.

Code:
27.11.2011-21:31 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
27.11.2011-21:31 - DEBUG - Found 3 changes, starting update process.
27.11.2011-21:31 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('101','1','0','riud','riud','','5','13','test-record-for-forum','A','10.11.12.13','0','86400','Y','2011-11-27 21:30:25','2011112701')
27.11.2011-21:31 - DEBUG - Calling function 'rr_update' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_update'.
27.11.2011-21:31 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
27.11.2011-21:31 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:31 - DEBUG - Processed datalog_id 328
27.11.2011-21:31 - DEBUG - Replicated from master: REPLACE INTO dns_soa (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`origin`,`ns`,`mbox`,`serial`,`refresh`,`retry`,`expire`,`minimum`,`ttl`,`active`,`xfer`,`also_notify`,`update_acl`) VALUES ('','','','','','','','','','','','','','','','','','','','')
27.11.2011-21:31 - DEBUG - Calling function 'soa_update' from plugin 'bind_dlz_plugin' raised by event 'dns_soa_update'.
27.11.2011-21:31 - DEBUG - Calling function 'soa_update' from plugin 'bind_plugin' raised by event 'dns_soa_update'.
27.11.2011-21:31 - DEBUG - Writing BIND domain file: /etc/bind/pri.paul.j2ict.net
27.11.2011-21:31 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:31 - DEBUG - Processed datalog_id 329
27.11.2011-21:31 - DEBUG - Replicated from master: REPLACE INTO dns_rr (`id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`zone`,`name`,`type`,`data`,`aux`,`ttl`,`active`,`stamp`,`serial`) VALUES ('','','','','','','','','','','','','','','','')
27.11.2011-21:31 - DEBUG - Calling function 'rr_insert' from plugin 'bind_dlz_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:31 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
27.11.2011-21:31 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
27.11.2011-21:31 - DEBUG - Processed datalog_id 330
27.11.2011-21:31 - DEBUG - Calling function 'restartBind' from module 'dns_module'.
27.11.2011-21:31 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
And the zone file it self.

Code:
root@mx1:/etc/bind# more pri.paul.j2ict.net
$TTL        86400
@       IN      SOA     ns1.j2ict.net. dnsadmin.j2ict.nl. (
                        2011112701       ; serial, todays date + todays serial #
                        28800              ; refresh, seconds
                        7200              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;


root@mx1:/etc/bind#
I also attached a screenshot from the dns module.

Thanks for any help or advice.
Paul.
Attached Images
 
Reply With Quote
Sponsored Links