{"id":5418,"date":"2026-07-03T13:17:14","date_gmt":"2026-07-03T10:17:14","guid":{"rendered":"https:\/\/hostingdunyam.com.tr\/blog\/?p=5418"},"modified":"2026-07-03T13:17:14","modified_gmt":"2026-07-03T10:17:14","slug":"ttl-nedir","status":"publish","type":"post","link":"https:\/\/hostingdunyam.com.tr\/blog\/ttl-nedir","title":{"rendered":"TTL Nedir?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">TTL (Time-to-Live), bir veri paketinin veya DNS kayd\u0131n\u0131n a\u011fda ya da \u00f6nbellekte ne kadar s\u00fcre ge\u00e7erli kalaca\u011f\u0131n\u0131 tan\u0131mlayan say\u0131sal bir de\u011ferdir.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">TTL Nas\u0131l \u00c7al\u0131\u015f\u0131r?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">DNS ba\u011flam\u0131nda TTL, bir kayd\u0131n DNS \u00e7\u00f6z\u00fcmleyicilerin \u00f6nbelle\u011finde saniye cinsinden ne kadar tutulaca\u011f\u0131n\u0131 belirtir. Bir kullan\u0131c\u0131 alan ad\u0131n\u0131 sorgulad\u0131\u011f\u0131nda \u00e7\u00f6z\u00fcmleyici yetkili DNS sunucusundan ald\u0131\u011f\u0131 yan\u0131t\u0131 TTL s\u00fcresi boyunca \u00f6nbelle\u011fe al\u0131r. Bu s\u00fcre i\u00e7inde ayn\u0131 alan ad\u0131 i\u00e7in gelen sorgular \u00f6nbellekten yan\u0131tlan\u0131r; yetkili sunucuya tekrar sorgu g\u00f6nderilmez.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Kullan\u0131c\u0131 \u2192 Resolver \u2192 Yetkili DNS (ilk sorgu, TTL: 3600)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Kullan\u0131c\u0131 \u2192 Resolver \u2192 \u00d6nbellek (sonraki sorgular, TTL s\u00fcresi dolana kadar)<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Kullan\u0131ma G\u00f6re TTL S\u00fcreleri<\/span><\/h2>\n<table>\n<tbody>\n<tr>\n<td><b>TTL<\/b><\/td>\n<td><b>S\u00fcre<\/b><\/td>\n<td><b>Ne Zaman Kullan\u0131l\u0131r<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">60<\/span><\/td>\n<td><span style=\"font-weight: 400;\">1 dakika<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Aktif ge\u00e7i\u015f an\u0131nda, acil m\u00fcdahale gerektiren durumlar<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">300<\/span><\/td>\n<td><span style=\"font-weight: 400;\">5 dakika<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sunucu ge\u00e7i\u015fi \u00f6ncesi haz\u0131rl\u0131k d\u00f6nemi<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">900<\/span><\/td>\n<td><span style=\"font-weight: 400;\">15 dakika<\/span><\/td>\n<td><span style=\"font-weight: 400;\">S\u0131k g\u00fcncellenen dinamik kay\u0131tlar<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">3600<\/span><\/td>\n<td><span style=\"font-weight: 400;\">1 saat<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Genel kullan\u0131m i\u00e7in standart de\u011fer<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">21600<\/span><\/td>\n<td><span style=\"font-weight: 400;\">6 saat<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kararl\u0131, nadiren de\u011fi\u015fen kay\u0131tlar<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">86400<\/span><\/td>\n<td><span style=\"font-weight: 400;\">24 saat<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Uzun s\u00fcredir sabit olan kay\u0131tlar<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span style=\"font-weight: 400;\">D\u00fc\u015f\u00fck TTL (60-300 Saniye)<\/span><\/h3>\n<p><b>Avantajlar\u0131:<\/b><span style=\"font-weight: 400;\"> DNS de\u011fi\u015fiklikleri \u00e7ok h\u0131zl\u0131 yay\u0131l\u0131r. Sunucu ge\u00e7i\u015fleri, IP de\u011fi\u015fiklikleri ve hata kurtarma senaryolar\u0131nda esneklik sa\u011flar. Sorun an\u0131nda h\u0131zl\u0131 m\u00fcdahale imk\u00e2n\u0131 sunar.<\/span><\/p>\n<p><b>Dezavantajlar\u0131:<\/b><span style=\"font-weight: 400;\"> DNS \u00e7\u00f6z\u00fcmleyiciler \u00e7ok daha s\u0131k yetkili sunucuya sorgu g\u00f6nderir. Bu durum yetkili DNS sunucusuna y\u00fck bindirir ve \u00e7\u00f6z\u00fcmleme s\u00fcresini uzatabilir. D\u00fc\u015f\u00fck TTL, y\u00fcksek trafikli siteler i\u00e7in DNS altyap\u0131s\u0131na \u00f6nemli ek y\u00fck getirir.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Y\u00fcksek TTL (3600-86400 Saniye)<\/span><\/h3>\n<p><b>Avantajlar\u0131:<\/b><span style=\"font-weight: 400;\"> \u00c7\u00f6z\u00fcmleyiciler kayd\u0131 uzun s\u00fcre \u00f6nbellekte tutar. Yetkili DNS sunucusuna gelen sorgu say\u0131s\u0131 azal\u0131r. \u00c7\u00f6z\u00fcmleme h\u0131zlan\u0131r \u00e7\u00fcnk\u00fc yan\u0131t \u00f6nbellekten gelir.<\/span><\/p>\n<p><b>Dezavantajlar\u0131:<\/b><span style=\"font-weight: 400;\"> DNS de\u011fi\u015fikli\u011fi yapmak gerekti\u011finde eski kayd\u0131n silinmesi uzun s\u00fcrer. Acil IP de\u011fi\u015fikliklerinde t\u00fcm internet kullan\u0131c\u0131lar\u0131n\u0131n yeni sunucuya ge\u00e7mesi saatlerce s\u00fcrebilir.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">TTL De\u011ferini Ka\u00e7 Olmal\u0131?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Sabit ve uzun s\u00fcredir de\u011fi\u015fmeyen bir yap\u0131 i\u00e7in 3600-86400 saniye uygundur. Yak\u0131n zamanda sunucu ge\u00e7i\u015fi veya DNS de\u011fi\u015fikli\u011fi planlan\u0131yorsa ge\u00e7i\u015ften 24-48 saat \u00f6nce TTL&#8217;yi 300 saniyeye indirmek ve de\u011fi\u015fiklik sonras\u0131 tekrar y\u00fckseltmek en sa\u011fl\u0131kl\u0131 yakla\u015f\u0131md\u0131r.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">TTL S\u0131f\u0131r Yap\u0131labilir mi?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Teknik olarak TTL de\u011feri s\u0131f\u0131r olarak ayarlanabilir. Bu durumda \u00e7\u00f6z\u00fcmleyiciler kayd\u0131 \u00f6nbellekte tutmaz ve her sorguda yetkili sunucuya ba\u015fvurur. Ancak bu ayar DNS sunucunuza ciddi y\u00fck bindirir ve baz\u0131 \u00e7\u00f6z\u00fcmleyiciler TTL=0 de\u011ferini g\u00f6rmezden gelerek minimum bir s\u00fcre \u00f6nbelle\u011fe alabilir. \u00dcretim ortam\u0131nda \u00f6nerilmez.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">TTL De\u011ferini De\u011fi\u015ftirince Hemen Etki Eder mi?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Hay\u0131r. TTL de\u011fi\u015fikli\u011finin kendisi de mevcut TTL s\u00fcresi kadar \u00f6nbellekte kal\u0131r. \u00d6rne\u011fin TTL=86400 olan bir kayd\u0131n TTL&#8217;sini 300&#8217;e d\u00fc\u015f\u00fcrd\u00fc\u011f\u00fcn\u00fczde, eski kayd\u0131 \u00f6nbelleklerine alm\u0131\u015f \u00e7\u00f6z\u00fcmleyiciler 86400 saniye dolana kadar eski TTL ile \u00e7al\u0131\u015fmaya devam eder. Bu nedenle TTL de\u011fi\u015fiklikleri erken planlanmal\u0131d\u0131r.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">TTL ile DNS Propagation Ayn\u0131 \u015eey mi?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Do\u011frudan ayn\u0131 \u015fey de\u011fildir ancak TTL, propagation s\u00fcresinin temel belirleyicisidir. Propagation, bir DNS de\u011fi\u015fikli\u011finin t\u00fcm \u00e7\u00f6z\u00fcmleyicilere yay\u0131lma s\u00fcrecidir. Bu s\u00fcrenin uzunlu\u011fu b\u00fcy\u00fck \u00f6l\u00e7\u00fcde mevcut TTL de\u011ferine ba\u011fl\u0131d\u0131r.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Farkl\u0131 DNS Kay\u0131tlar\u0131 \u0130\u00e7in Farkl\u0131 TTL De\u011feri Kullan\u0131labilir mi?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Evet. Her DNS kayd\u0131 i\u00e7in ba\u011f\u0131ms\u0131z TTL tan\u0131mlanabilir. \u00d6rne\u011fin A kayd\u0131na 3600, MX kayd\u0131na 86400, TXT kayd\u0131na 300 saniye TTL verebilirsiniz. S\u0131k de\u011fi\u015fmesi beklenen kay\u0131tlara d\u00fc\u015f\u00fck, kararl\u0131 kay\u0131tlara y\u00fcksek TTL atamak iyi bir uygulamad\u0131r.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TTL (Time-to-Live), bir veri paketinin veya DNS kayd\u0131n\u0131n a\u011fda ya da \u00f6nbellekte ne kadar s\u00fcre ge\u00e7erli kalaca\u011f\u0131n\u0131 tan\u0131mlayan say\u0131sal bir de\u011ferdir. TTL Nas\u0131l \u00c7al\u0131\u015f\u0131r? DNS ba\u011flam\u0131nda TTL, bir kayd\u0131n DNS \u00e7\u00f6z\u00fcmleyicilerin \u00f6nbelle\u011finde saniye cinsinden ne kadar tutulaca\u011f\u0131n\u0131 belirtir. Bir kullan\u0131c\u0131 alan ad\u0131n\u0131 sorgulad\u0131\u011f\u0131nda \u00e7\u00f6z\u00fcmleyici yetkili DNS sunucusundan ald\u0131\u011f\u0131 yan\u0131t\u0131 TTL s\u00fcresi boyunca \u00f6nbelle\u011fe al\u0131r. Bu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5419,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5418","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genel"],"_links":{"self":[{"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/posts\/5418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/comments?post=5418"}],"version-history":[{"count":1,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/posts\/5418\/revisions"}],"predecessor-version":[{"id":5420,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/posts\/5418\/revisions\/5420"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/media\/5419"}],"wp:attachment":[{"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/media?parent=5418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/categories?post=5418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostingdunyam.com.tr\/blog\/wp-json\/wp\/v2\/tags?post=5418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}