LightMySky
به انگلیسی

Naming: DNS and the Resolution Path

DNS maps human-readable names to records such as addresses. A recursive resolver can answer from cache or follow delegations from the root through a top-level domain to an authoritative server. TTL values limit how long cached records may be reused.

شروع یادگیری این موضوعبه حساب کاربری نیازی نیست. پیشرفت در همین مرورگر ذخیره می‌شود.

کارهایی که یادگیرنده بعد از این درس می‌تواند انجام دهد

  • Walk a name resolution from the root through to the answer
  • Explain what the time to live decides and who honours it
  • Say what a stale cached answer looks like from a user's side

۱ · بخوان

DNS maps human-readable names to records such as IP addresses. A browser usually asks a recursive resolver. If the resolver has usable cached data, it can answer from cache. A cache hit skips the referral walk, so the answer comes back faster. Otherwise, the resolver follows referrals to find an authoritative answer.

Try it together

For shop.example.com, an uncached iterative lookup can ask a root server for the .com name servers, ask a .com server for the authoritative servers for example.com, and ask one of those servers for the record. A recursive resolver performs this work for the browser.

check cacheask rootask .comask example server
This is the uncached path. A cached answer can stop the walk early.

A DNS record includes a time to live, or TTL. It tells a caching resolver how long the record may be retained for reuse. When the TTL expires, a later lookup needs a fresh answer. The resolver does not have to ask at the exact expiry moment.

After an address changes, some caches may still hold the old record while its TTL has time left. A user can then reach the old server until that cached answer expires and a fresh lookup supplies the new one.

A resolver uses cache when it can, follows DNS delegations when it must, and uses TTL to limit cached answers.

Original instructional content authored for os-taxonomy.

۲ · ببین

به انگلیسی

دور از صفحه‌نمایش

چاپ کاربرگکاغذ A4، با یک صفحهٔ جواب‌ها برای بزرگ‌ترها. بدون صفحه‌نمایش، بدون اینترنت.

جایگاه این موضوع

اول این‌ها را یاد بگیر

پیوندهای اختیاری

این موضوع راه این‌ها را باز می‌کند

سپس تمرین

۸ سؤال پشت این درس منتظرند، هر کدام با پاسخ توضیح‌داده‌شده. هر پاسخ آسمان را پر می‌کند: ستاره‌ها هنگام یادگیری روشن می‌شوند و وقتی زمان برگشتن است کمرنگ می‌شوند.

شروع یادگیری این موضوع