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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd February 2008, 19:59
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default Changing defults of IspConfig

Hello,

I am changing some IspConfig files for an automatic round-robin generation of DNS records for a domain.

To do so I am changing the following files (up to now):

1) /root/ispconfig/isp/conf/pri.domain.master
2) /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php

I know that the first file should not be touched and instead put a new one under "customized_templates" but I would like to know if there is a way of doing the same with the second file.

Also I would like to know if there is a simple way of re-creating all the dns files of all the domains that I have created on my system.

The thing is that after updating this files, it would be very nice to give an order to IspConfig that wille execute as if all the dns records had been changed, and therefore, their files re-created using the new-code and new template.

Thank's in advance....Larry.
Reply With Quote
Sponsored Links
  #2  
Old 23rd February 2008, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

Quote:
I know that the first file should not be touched and instead put a new one under "customized_templates" but I would like to know if there is a way of doing the same with the second file.
This cant be done for the second file.

Quote:
Also I would like to know if there is a simple way of re-creating all the dns files of all the domains that I have created on my system.
set status = 'u' in the database table dns_isp_dns for all records that shall be updated. Then change one record in the ispconfig interface and ispconfig will update all records or execute this command on the shell:

touch /home/admispconfig/ispconfig/.run
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th February 2008, 17:57
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Lets see if I got it right:

Instead of modifiyng "/root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php" a could place a modified file as "/root/ispconfig/scripts/lib/classes/customized_templates/ispconfig_bind.lib.php" and ispconfig will execute this file instead of the original one.

Please confirm if I understood correctly.

Thank's in advance....Larry.
Reply With Quote
  #4  
Old 25th February 2008, 09:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
 
Default

No, you can not do this for class files, only for template files.
__________________
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:
lrider (25th February 2008)
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
Changing to SSL for ISPconfig site. Rockdrala Installation/Configuration 6 2nd January 2008 11:47
Changing Document Root in ISPconfig does not work 100% trymbill Installation/Configuration 4 19th December 2007 17:55
seperate Mailserver & ISPconfig r00ty General 1 26th May 2007 19:40
Migrating from Virtualmin to ISPConfig xare Installation/Configuration 3 16th July 2006 12:58
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 07:01.


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