
15th November 2012, 12:59
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
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?
|

15th November 2012, 13:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
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.
|

15th November 2012, 13:11
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
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.
|

15th November 2012, 13:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
The file /etc/bind/pri.filerift.com is not there or does it still contain the old Ip address?
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

17th November 2012, 19:17
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
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.
|

18th November 2012, 16:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
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.
|

18th November 2012, 17:23
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
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?
|

18th November 2012, 17:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
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.
|
|
The Following User Says Thank You to till For This Useful Post:
|
todx (19th November 2012)
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 17:24.
|
|
Recent comments
17 hours 31 min ago
17 hours 36 min ago
22 hours 34 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 18 hours ago
1 day 22 hours ago
1 day 23 hours ago