[{"data":1,"prerenderedAt":163},["ShallowReactive",2],{"term-t\u002Fttl":3,"related-t\u002Fttl":146},{"id":4,"title":5,"acronym":6,"body":7,"category":127,"description":128,"difficulty":129,"extension":130,"letter":131,"meta":132,"navigation":96,"path":133,"related":134,"seo":139,"sitemap":140,"stem":143,"subcategory":144,"__hash__":145},"terms\u002Fterms\u002Ft\u002Fttl.md","TTL","Time To Live",{"type":8,"value":9,"toc":121},"minimark",[10,15,19,23,26,30,110,114,117],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"TTL is how long DNS resolvers are allowed to remember (cache) your DNS records before checking again. A TTL of 3600 means 'remember this for 1 hour.' Set it low before making DNS changes so the update spreads fast. Set it high normally to reduce DNS lookups.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"TTL is a field in DNS records that specifies the duration (in seconds) that a resolver should cache the record. Lower TTLs mean faster propagation of changes but more DNS queries. Higher TTLs improve performance by reducing DNS lookups.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# DNS records with TTL\nexample.com.  300   IN  A  203.0.113.10   # 5 minutes\nexample.com.  86400 IN  A  203.0.113.10   # 24 hours\n\n# Pro tip: lower TTL before planned changes\n# Change TTL to 300 one day before migrating servers\n","bash","",[38,39,40,49,73,91,98,104],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# DNS records with TTL\n",[41,50,52,56,60,64,67,70],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","example.com.",[41,57,59],{"class":58},"sbssI","  300",[41,61,63],{"class":62},"sfazB","   IN",[41,65,66],{"class":62},"  A",[41,68,69],{"class":58},"  203.0.113.10",[41,71,72],{"class":47},"   # 5 minutes\n",[41,74,76,78,81,84,86,88],{"class":43,"line":75},3,[41,77,55],{"class":54},[41,79,80],{"class":58},"  86400",[41,82,83],{"class":62}," IN",[41,85,66],{"class":62},[41,87,69],{"class":58},[41,89,90],{"class":47},"   # 24 hours\n",[41,92,94],{"class":43,"line":93},4,[41,95,97],{"emptyLinePlaceholder":96},true,"\n",[41,99,101],{"class":43,"line":100},5,[41,102,103],{"class":47},"# Pro tip: lower TTL before planned changes\n",[41,105,107],{"class":43,"line":106},6,[41,108,109],{"class":47},"# Change TTL to 300 one day before migrating servers\n",[11,111,113],{"id":112},"when-youll-hear-this","When You'll Hear This",[16,115,116],{},"\"Lower the TTL to 5 minutes before switching servers.\" \u002F \"DNS is slow to propagate because the old TTL was 24 hours.\"",[118,119,120],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":122},[123,124,125,126],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":112,"depth":51,"text":113},"networking","TTL is how long DNS resolvers are allowed to remember (cache) your DNS records before checking again. A TTL of 3600 means 'remember this for 1 hour.","beginner","md","t",{},"\u002Fterms\u002Ft\u002Fttl",[135,136,137,138],"DNS","A Record","CNAME","MX Record",{"title":5,"description":128},{"changefreq":141,"priority":142},"weekly",0.7,"terms\u002Ft\u002Fttl",null,"cHjOsrCnUzodJ1eXCOnBS9MlMiQ5fjD3yF-WPJmjBoo",[147,150,154,158],{"title":136,"path":148,"acronym":144,"category":127,"difficulty":129,"description":149},"\u002Fterms\u002Fa\u002Fa-record","An A Record is the most basic DNS record — it just says 'this domain name = this IP address.' It's the phonebook entry itself.",{"title":137,"path":151,"acronym":152,"category":127,"difficulty":129,"description":153},"\u002Fterms\u002Fc\u002Fcname","Canonical Name Record","A CNAME is a DNS record that's like an alias or nickname. Instead of pointing to an IP address directly, it points to another domain name. So 'www.",{"title":135,"path":155,"acronym":156,"category":127,"difficulty":129,"description":157},"\u002Fterms\u002Fd\u002Fdns","Domain Name System","DNS is the internet's phonebook. You type 'google.",{"title":138,"path":159,"acronym":160,"category":127,"difficulty":161,"description":162},"\u002Fterms\u002Fm\u002Fmx-record","Mail Exchange Record","intermediate","An MX record tells the internet where to deliver emails for your domain. When someone sends an email to you@yoursite.",1776518317371]