تخطى إلى المحتوى الرئيسي

حاسبة TTL

تحول قيمة TTL بالثواني إلى مدة مقروءة، وتحسب وقت انتهاء الصلاحية من وقت بداية محدد.

Inputs

Enter a TTL in seconds (0 = no cache)

Leave blank to use current time. Format: YYYY-MM-DD HH:MM:SS

TTL Details

Results will appear here.

DNS Time-To-Live values are specified in seconds, but human-readable durations (hours, minutes, days) are far easier to reason about when setting cache policies or planning maintenance windows. A TTL of 86400 seconds is a 24-hour cache lifetime — easy to misread or miscalculate when you are working quickly under pressure.

This tool converts any TTL value in seconds to a clear, human-readable breakdown (days, hours, minutes, seconds) and also converts in the reverse direction, accepting a natural-language duration and outputting the equivalent seconds for use in DNS zone files or API calls.

كيفية استخدام حاسبة TTL

  1. 1

    أدخل قيمة TTL

    أدخل قيمة TTL بالثواني (مثل 3600)، أو أدخل وحدة زمنية (مثل ساعة واحدة) ليُحوّلها الأداة إلى ثوانٍ.

  2. 2

    عرض تحويل الوقت

    تُحوّل الأداة ثواني TTL إلى تنسيق زمني مقروء (ثوانٍ، دقائق، ساعات، أيام) لمساعدتك على فهم مدة التخزين المؤقت.

  3. 3

    اختيار TTL المناسب

    استعن بنطاقات TTL الموصى بها وفق احتياجات عملك: يُوصى للسجلات الثابتة (كـMX) بـ1–24 ساعة؛ وللسجلات المُزمع تغييرها يُنصح بتخفيضها مسبقاً إلى 5 دقائق.

How DNS TTL Affects Caching

TTL is a 32-bit unsigned integer in DNS resource records (RFC 1035) representing the number of seconds a resolver may cache the record. When a resolver fetches a record, it stores it with a countdown timer initialised to the TTL. Any subsequent query within that window is answered from cache; after expiry, the resolver must fetch a fresh copy from the authoritative server.

TTL strategy involves a trade-off: high values (86400s = 1 day) reduce DNS query load and speed up responses for end users, but slow down propagation of changes. Low values (60–300s) enable rapid changes — important before migrations — but increase authoritative query volume and may degrade performance for users served by distant or slow resolvers.

لماذا تستخدم حاسبة FileCrank لـTTL؟

  • ✓ تحويل ثنائي الاتجاه بين الثواني والوحدات الزمنية (دقائق، ساعات، أيام)
  • ✓ تقديم قيم TTL موصى بها لأنواع سجلات DNS الشائعة
  • ✓ يعمل بالكامل في المتصفح — لا يُنقَل أي بيانات
  • ✓ مجاني دون تسجيل
  • ✓ مثالي لإدارة DNS وتخطيط الترحيل

الميزات والمواصفات

أقصى حجم للملف
حتى 100 ميغابايت
الخصوصية
تُحذف الملفات بعد نحو ساعة
السعر
مجاني، بدون تسجيل
المعالجة
على الخادم
Processing
100% client-side
Input format
TTL in seconds; optional start time
Output format
Duration and expiry timestamp
Cost
Free — no limits
يجري الحساب محلياً في متصفحك — لا يُرسَل أي بيانات إلى الخوادم.لا حاجة للتسجيل.مجاني — لا رسوم خفية.

الأسئلة الشائعة

How do I use the TTL Calculator?

Enter a TTL value in seconds (e.g., 3600) and the tool instantly converts it to a human-readable duration (1 hour). You can also enter a start time to calculate the exact expiry date and time.

What is DNS TTL?

TTL (Time To Live) is a value in DNS records that specifies how long other DNS servers should cache the record before querying the authoritative nameserver again. Lower TTLs = more frequent updates; higher TTLs = better performance but slower updates.

How does TTL affect DNS propagation?

Higher TTL values mean cached records persist longer, slowing DNS propagation of changes. Before making DNS changes, lower your TTL to 300–600 seconds, wait 24 hours, make the change, then restore your original TTL.

What TTL should I set for my DNS records?

Standard practice is 3600 seconds (1 hour) for stable records. For frequently changing records, use 300–900 seconds. During domain migrations or testing, use 300 seconds for rapid updates. Be conservative (86400+ seconds) only for rarely-changed records.

Does the calculator send my TTL data anywhere?

No. All TTL conversions run entirely in your browser. Your DNS configuration data never contacts any server.

What does it mean if my TTL is very high (86400+)?

A very high TTL (24+ hours) means DNS records are cached for a long time, improving performance but making changes slow to propagate. This is appropriate only for stable records that rarely change.

TTL Calculator vs. Manual Division

Dividing seconds by 3600 and 86400 in your head is fast enough for round numbers but introduces errors for values like 43200 (12 hours) or 14400 (4 hours). This tool eliminates the arithmetic, presents the result in a clear decomposed format, and supports reverse conversion — useful when a runbook says 'set TTL to 5 minutes' and you need the exact seconds value for a zone file.

تُحوّل حاسبة FileCrank لـTTL ثواني TTL لـDNS إلى تنسيق زمني مقروء وتقدم قيم TTL موصى بها لأنواع سجلات DNS الشائعة. يتم الحساب محلياً في المتصفح دون تخزين البيانات. مجانية دون حساب.

Advertisement

Ad