Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th November 2012, 12:59
todx todx is offline
Member
 
Join Date: Apr 2012
Posts: 77
Thanks: 33
Thanked 6 Times in 5 Posts
Default Having trouble with updating settings in ISPC3

I tried to change my dns setting by changing the ip of a domain i'm using. As far as I know it should take 1 minutes for changes to take effect, but nothing happened even after 5 minutes. So I ran a debug and it outputs the following:
Code:
15.11.2012-11:55 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
15.11.2012-11:55 - DEBUG - Found 2 changes, starting update process.
15.11.2012-11:55 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
15.11.2012-11:55 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
15.11.2012-11:55 - DEBUG - Network configuration disabled in server settings.
15.11.2012-11:55 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
15.11.2012-11:55 - DEBUG - Processed datalog_id 2240
15.11.2012-11:55 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
15.11.2012-11:55 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
15.11.2012-11:55 - DEBUG - Network configuration disabled in server settings.
15.11.2012-11:55 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
15.11.2012-11:55 - DEBUG - Processed datalog_id 2241
15.11.2012-11:55 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
15.11.2012-11:55 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
The output of debug seems fine to me at least. Any ideas?
Reply With Quote
Sponsored Links
  #2  
Old 15th November 2012, 13:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

The debug output does not contain any dns related lines so it must have ben executed after the dns changes were written to disk. Please follow the instructions from this post http://www.howtoforge.com/forums/showthread.php?t=58408 and disable the cronjob before you change the dns record and the run the server.sh script and post the output.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th November 2012, 13:11
todx todx is offline
Member
 
Join Date: Apr 2012
Posts: 77
Thanks: 33
Thanked 6 Times in 5 Posts
Default

Alright, I disabled cronjob, under server config I set the loglevel to "debug" and made the necessary adjustments in ISPC3 and ran the "/usr/local/ispconfig/server/server.sh" and got this output:

Code:
15.11.2012-12:07 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
15.11.2012-12:07 - DEBUG - Found 2 changes, starting update process.
15.11.2012-12:07 - DEBUG - Calling function 'soa_update' from plugin 'bind_plugin' raised by event 'dns_soa_update'.
15.11.2012-12:07 - DEBUG - Writing BIND domain file: /etc/bind/pri.filerift.com
15.11.2012-12:07 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
15.11.2012-12:07 - DEBUG - Processed datalog_id 2243
15.11.2012-12:07 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
15.11.2012-12:07 - DEBUG - Writing BIND domain file: /etc/bind/pri.filerift.com
15.11.2012-12:07 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
15.11.2012-12:07 - DEBUG - Processed datalog_id 2244
15.11.2012-12:07 - DEBUG - Calling function 'restartBind' from module 'dns_module'.
15.11.2012-12:07 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
And again nothing changed.
Reply With Quote
  #4  
Old 15th November 2012, 13:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

The file /etc/bind/pri.filerift.com is not there or does it still contain the old Ip address?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
ailesqcahvsa7752 (16th November 2012)
  #5  
Old 17th November 2012, 19:17
todx todx is offline
Member
 
Join Date: Apr 2012
Posts: 77
Thanks: 33
Thanked 6 Times in 5 Posts
Default

File "/etc/bind/pri.filerift.com" exists and contains the old IP even when I manually run server.sh script in debug mode.

It seems that ISPC3 updates everything just fine except DNS records. It takes longer but in the end it updates the zone files but sometimes that takes a very long time.

Any ideas?

EDIT: ** Ok so I re-did my steps again and checked the pri.filerift.com file and it included the NEW IP address however when I ping filerift.com it shows the old IP address, could there be something wrong with bind9?

Last edited by todx; 17th November 2012 at 20:04.
Reply With Quote
  #6  
Old 18th November 2012, 16:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Quote:
EDIT: ** Ok so I re-did my steps again and checked the pri.filerift.com file and it included the NEW IP address however when I ping filerift.com it shows the old IP address, could there be something wrong with bind9?
Pleasetest bidn with this command executed on the server:

dig@localhost filerift.com

In general: changes in dns like changing an IP address may take up to 48 hours, thats normal and does not depend on ispconfig. ISPConfig changes the IP within 60 seconds, but other dns servers are caching the dns record and they will not recognize the new IP address until the ttl of this dns record expired.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 18th November 2012, 17:23
todx todx is offline
Member
 
Join Date: Apr 2012
Posts: 77
Thanks: 33
Thanked 6 Times in 5 Posts
Default

Okay thanks till I think I got it. But don't DNS servers cache NS records only and not the entire DNS zone?

Will changing the ttl to a shorter time make any difference?

Lets take no-ip.com in consideration, they instantly update IPs allocated to sub-domains, any idea on how to achieve that?
Reply With Quote
  #8  
Old 18th November 2012, 17:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

Quote:
Okay thanks till I think I got it. But don't DNS servers cache NS records only and not the entire DNS zone?
The records were cached, as a external server normally does not know which records exist in a zone.

Quote:
Will changing the ttl to a shorter time make any difference?
Yes. But not all external servers will care about that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
todx (19th November 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
segmentation fault after updating DNS settings plenkeske Installation/Configuration 2 5th June 2007 19:35
Trouble with access to server settings, access, myphpadmin steveomach3ww Installation/Configuration 2 11th February 2006 18:38


All times are GMT +2. The time now is 05:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.