Salesforce recommends lowering your DNS TTL (Time to Live) value on your caching servers well in advance of any scheduled maintenance window or Site Switch - ideally to the lowest value your DNS infrastructure supports or operationally allows.
If your network or IT group controls DNS timeout values, they may need to refresh the DNS cache and restart any integrations following the maintenance. We recommend a shorter TTL value so that when the new instance comes online, the network has the latest DNS information and can find the new location quickly.
Time to Live values are always represented in seconds. Most DNS setup configuration services provide a preset list of values:
Salesforce recommends lowering your DNS TTL value on your caching servers to the lowest value your DNS infrastructure supports - well in advance of any scheduled maintenance window or Site Switch. As documented in Site Switching Overview and FAQ (000387541), setting your DNS timeout to the lowest operationally supportable value is the recommended best practice before any planned Salesforce infrastructure change.
The answer is rooted in how DNS propagation works - and the impact it has on your users, integrations, and connected applications during a Salesforce maintenance window.
When Salesforce performs an Instance Refresh (moving your org to a new server instance) or a Site Switch (changing the IP routing for your org), the IP address that your DNS resolves to will change. What happens next depends entirely on your DNS TTL setting.
Your network may continue pointing to the old IP address for up to 24 hours after the switch completes. During this window:
This article explains the recommended DNS TTL setting to minimize connectivity disruption during a Salesforce Instance Refresh or Site Switch, and what to do if your DNS infrastructure can't support a shorter TTL.
The recommended resolution is to set the DNS TTL to the shortest duration your DNS resolver supports on all DNS resource records that point to Salesforce infrastructure. This is the key step to ensuring that:
If your IT team has set a longer TTL (for example, `86400` seconds / 24 hours) and your DNS infrastructure cannot be changed before the maintenance window, the following alternatives can help minimize connectivity disruption.
000382920

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.