Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
Where to decrease TTL value on linux?
I will need to switch server to another location, IP so i need to modiffy nameservers i registered in my domain registar. (change ip there)
so i need to minimise downtime of domain/website files.
People say i need to decrease TTL and make change?
- Join Date
- Dec 2013
- Victoria, B.C. Canada
You can change the value at /proc/sys/net/ipv4/ip_default_ttl
It will probably be 64 which is generally considered a good value to use. Remember to put it back.
From previous posts, I know that it is not the tcp ttl, but ttl for a dns zone.
And as I explained: This needs to be set in zone files of the dnservers, which are probably changeable via an admin webgui of your ISP.You must always face the curtain with a bow.
My VPS /proc folder is empty, so you mean i cant help myself setting it on VPS, but changing it on domain registar well ahead of time (like 48 hours) before i modiffy my registered nameservers on domain registar? So when they are changed the website visitors ISP nameservers have low ttl value cached so they optain new VPS IP more quickly?
Basically yes, but be careful with the assumption of 48h.
This depends on the *current* value of the ttl, as well as some caching effects on top.
For background information, I suggest to read the RFCs:
RFC 1034 - Domain names - concepts and facilities
RFC 1035 - Domain names - implementation and specification
RFC 2181 - Clarifications to the DNS SpecificationYou must always face the curtain with a bow.