Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th July 2012, 12:20
Justin Albstmeijer Justin Albstmeijer is offline
Member
 
Join Date: Dec 2007
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Default change default for dns record TTL

Hi,

Currently the default TTL for dns records is 86400.
Is there a nice way to change this default?

I already fixed it for records in a new domain created based on a template, but 86400 is still the default for manual entries.

I fixed it now with

sed -i s/86400/900/g ispconfig/interface/web/dns/form/dns_*

But I hoped there would be a nice way that will survive an ISPconfig upgrade.

Thanks.
Reply With Quote
The Following User Says Thank You to Justin Albstmeijer For This Useful Post:
SupuS (5th August 2012)
Sponsored Links
  #2  
Old 16th July 2012, 12:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You can set the ttl for all records created by the dns wizard by creating a custom dns wizard template.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th July 2012, 12:42
Justin Albstmeijer Justin Albstmeijer is offline
Member
 
Join Date: Dec 2007
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
You can set the ttl for all records created by the dns wizard by creating a custom dns wizard template.

Thats what I said.
I can indeed fix it for entries added through a template wizard.
I am looking for a solution to set a default for the manual dns entries that are being added after the default ones have been created by the template wizard.
Reply With Quote
  #4  
Old 16th July 2012, 12:49
Justin Albstmeijer Justin Albstmeijer is offline
Member
 
Join Date: Dec 2007
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Maybe I should have called it 'DNS Zone records' to prevent confusion.
Reply With Quote
  #5  
Old 17th July 2012, 17:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

I think the value is hard-coded somewhere, and you can change it manually only for each record through ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 17th July 2012, 22:06
Justin Albstmeijer Justin Albstmeijer is offline
Member
 
Join Date: Dec 2007
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko View Post
I think the value is hard-coded somewhere, and you can change it manually only for each record through ISPConfig.
That was my assumption too when starting this thread.

"I fixed it now with: sed -i s/86400/900/g ispconfig/interface/web/dns/form/dns_*"

Should I open a feature request to make this hard-coded value configurable?
Reply With Quote
  #7  
Old 18th July 2012, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

Yes, please open a feature request for that in the bugtracker.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
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
Intel 82815 Video Card & Ubuntu 8.10 harvey527 Kernel Questions 8 5th November 2010 14:51
User creating shoevring Developers' Forum 7 25th July 2010 10:17
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 20:43
post fix error after a year aberrio Server Operation 5 5th May 2009 21:33
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 12:05


All times are GMT +2. The time now is 21:31.


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