تدريب Shadowing: Everything You Need to Know About DNS: Crash Course System Design #4 - تعلم التحدث بالإنجليزية مع YouTube

C1
DNS or domain name system is the backbone of the internet,
⏸ متوقف مؤقتاً
81 جمل
إذا كانت الجمل قصيرة أو طويلة جدًا، انقر على Edit لتعديلها.
1
DNS or domain name system is the backbone of the internet,
2
but few know exactly how it works.
3
In this video, we'll learn all about the system design of DNS.
4
Let's dive right in.
5
DNS is the internet's directory.
6
It translates human readable domain names such as google.com to machine readable IP addresses.
7
DNS is a little confusing because there are different types of DNS server in the DNS hierarchy,
8
each serving a different purpose.
9
When a browser makes a DNS query,
10
it's asking a DNS resolver.
11
Now this DNS resolver could be from our ISP or from popular DNS providers like Cloudflare's 1.1.1.1 or Google's 8.8.8.8.
12
If the DNS resolver does not have the answer in its cache,
13
it finds the right authoritative nameserver and asks it.
14
The authoritative nameserver is the one that holds the answer.
15
When we update a domain's DNS records as a site owner,
16
we are updating its authoritative nameserver.
17
How does the DNS resolver find the authoritative nameserver?
18
This is where the system of DNS gets interesting.
19
There are three main levels of authoritative DNS servers.
20
There are the root name servers,
21
the top level domain or TLD name servers,
22
and the authoritative name servers for the domains.
23
The root name servers store the IP addresses of the TLD name servers.
24
There are 13 logical root name servers.
25
Each root name server has a single IP address assigned to it.
26
There are actually many physical servers behind each IP address.
27
Through the magic of Anycast,
28
we get routed to the one closest to us.
29
The TLD name servers store the IP addresses of the authoritative name servers for all the domains under them.
30
There are many types of TLD names.
31
We are all familiar with .com, .org, and .edu.
32
There are also country code TLDs like .de and .uk.
33
There are many others.
34
The authoritative nameservers for a domain provide well,
35
authoritative answers to DNS queries.
36
When we register a domain,
37
the registrar hosts the authoritative nameservers by default,
38
but we can change them to others.
39
Cloud providers like AWS and Cloudflare run robust authoritative nameservers.
40
This hierarchical design makes DNS highly decentralized and robust.
41
Now let's walk through the life of a typical DNS query.
42
The user types google.com into the browser.
43
The browser first checks its cache.
44
If it has no answer,
45
it makes an operating system call to try to get the answer.
46
The operating system call would most likely have its own cache too.
47
If the answer isn't there,
48
it reaches out to the DNS resolver.
49
The DNS resolver first checks its cache.
50
If it is not there or if the answer has expired,
51
it asks the root name server.
52
The root name server responds with the list of the .com TLD name servers.
53
Note that since .com is such a common TLD,
54
the resolver most likely already caches the IP addresses for those .com TLD name servers.
55
The DNS resolver then reaches out to the .com TLD name server and the .com TLD name server
56
returns the authoritative name servers for google.com.
57
And finally, the DNS resolver reaches out to google.com's authoritative name server,
58
and it returns the IP addresses of google.com.
59
Now the DNS resolver then returns the IP addresses to the operating system,
60
and the operating system returns them to the browser.
61
Finally, let's go over some gotchas when updating DNS records for a live high traffic production system.
62
DNS propagation is slow because there is a TTL on each DNS record.
63
And some of the default TTLs are pretty long.
64
Also, not every DNS resolver is a good citizen.
65
There are some buggy ones out there that don't honor the TTL.
66
To mitigate the risk, there are two practical steps to take.
67
First, reduce the TTL for the record that we want to change to something very short,
68
say 60 seconds, well in advance before the update actually happens.
69
This gives ample time for all the DNS servers to receive the shortened TTL,
70
which would allow the actual record update to take effect based on the new shortened TTL.
71
Second, leave the server running on the old IP addresses for a while.
72
Only decommission the server when traffic dies down to an acceptable level.
73
Because some DNS resolvers don't honor the TTL,
74
this could take a bit of time and patience.
75
This concludes our video on DNS.
76
We hope you have a better understanding of how its hierarchical design makes it decentralized and robust.
77
Remember, DNS is what translates domain names to IP addresses,
78
making it a critical component of the Internet backbone.
79
You like our videos, you may like our system design newsletter as well.
80
It covers topics and trends in large-scale system design.
81
Trusted by 250,000 readers.

تنزيل التطبيق

تقييم بالذكاء الاصطناعي لكل جملة تنطقها

TRENDING

الأكثر شعبية

السياق والخلفية

في هذا الفيديو، يناقش المتحدث أهمية نظام أسماء النطاقات (DNS) وكيفية عمله كقلب الإنترنت. يعتبر DNS بمثابة دليل الإنترنت الذي يترجم أسماء النطاقات القابلة للقراءة البشرية مثل google.com إلى عناوين IP التي يمكن للآلات فهمها. على الرغم من أن معظم الناس يستخدمون الإنترنت يوميًا، فإن فهم كيفية عمل نظام DNS يمكن أن يعزز من المعرفة التقنية للأفراد، مما يساهم في تحسين مهاراتهم في اللغة الإنجليزية بشكل غير مباشر.

أفضل 5 عبارات للتواصل اليومي

  • الاستعلام عن الترجمة: "كيف يتحول الاسم إلى عنوان IP؟"
  • التساؤل عن العمليات: "ما هو دور خوادم DNS في ذلك؟"
  • شرح الأنظمة: "هل يمكن أن تشرح لي كيفية عمل خوادم الأسماء؟"
  • المقارنة بين الأنواع: "ما الفرق بين خادم الجذر وخادم TLD؟"
  • مشاركة المعرفة: "لقد تعلمت مؤخرًا عن تسلسل استعلام DNS."

دليل خطوة بخطوة لتقنية التظليل

لتعزيز مهاراتك في التحدث وتحسين النطق باللغة الإنجليزية، يمكنك اتباع طريقة التظليل (shadowing) أثناء مشاهدة هذا الفيديو. إليك كيفية القيام بذلك:

  1. المشاهدة والاستماع: ابدأ بمشاهدة الفيديو مرة واحدة مع التركيز على المحتوى. حاول فهم الفكرة العامة حول كيفية عمل DNS.
  2. المشاهدة بالتكرار: قم بمشاهدة الفيديو مرة أخرى، ولكن هذه المرة حاول تكرار ما يقوله المتحدث في كل جملة. استخدم طريقة التظليل لتقوم بتقليد النطق والتعبيرات.
  3. التفاعل مع المحتوى: حاول إعادة صياغة ما تعلمته ولكن بأسلوبك الشخصي. يمكنك التسجيل بنفسك ومقارنة نطقك بعد ذلك.
  4. التطبيق العملي: قم بالبحث عن المزيد من المعلومات حول DNS أو مواضيع مشابهة، وحاول إجراء محادثة مع أصدقائك حول ما تعلمته.
  5. الاستمرارية: استخدم shadowing site للعثور على المزيد من المواد والمحتوى الذي يمكنك ممارسته. من خلال التكرار والتمرين المستمر، ستتعزز ثقتك في استخدام اللغة الإنجليزية.

استخدام هذه الأساليب سيساعدك على تحسين النطق وتعزيز قدرتك على التواصل باللغة الإنجليزية بشكل فعال. استمتع بتجربتك التعليمية ولا تتردد في التجربة وتوسيع مفرداتك!

ما هي تقنية التظليل الصوتي؟

التظليل الصوتي (Shadowing) تقنية تعلم لغة مدعومة علمياً، طُورت أصلاً لتدريب المترجمين الفوريين المحترفين. الطريقة بسيطة لكنها قوية: تستمع لصوت إنجليزي أصلي وتكرره فوراً بصوت عالٍ — كظل يتبع المتحدث بتأخير 1-2 ثانية. تُظهر الأبحاث تحسناً كبيراً في دقة النطق والتنغيم والإيقاع وربط الأصوات والاستماع والطلاقة.

اشترِ لنا قهوة