Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

SOA Minimum TTL

Questions regarding the DNS Server
BIND
Locked
  • Print view
Advanced search
2 posts • Page 1 of 1
lexsus
Posts: 6
Joined: Thu Oct 29, 2015 3:45 pm
Contact:
Contact lexsus
Website

SOA Minimum TTL

Post by lexsus » Thu Nov 12, 2015 9:46 pm

where do I change the SOA minimum TTL 180 to eg 3600
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: SOA Minimum TTL

Post by BBuchanan1013 » Sat Jan 16, 2016 11:12 pm

lexsus wrote:where do I change the SOA minimum TTL 180 to eg 3600
First place to look:

Code: Select all

/home/user/conf/dns/domain.db
I suggest using a program like notepad++ to view and edit that file. However, if you want all new domains to be affected, and I don't suggest messing around too much:

Code: Select all

/usr/local/vesta/func/domain.sh
around line 226 you'll find:

Code: Select all

@    IN    SOA    $SOA.    root.$domain_idn. (
                                            $SERIAL
                                            7200
                                            3600
                                            1209600
                                            180 )
This will change only the Newly added domains. If you want to change existing, then change the domain.db listed above. Don't forget to restart DNS via command line.

Code: Select all

systemctl restart named
CentOS

Code: Select all

service bind restart
Ubuntu
*note: the actual name of the service might be different from what I've listed
Top


Locked
  • Print view

2 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password