惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
Vercel News
Vercel News
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
量子位
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
博客园 - 【当耐特】
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
IT之家
IT之家
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)

How DNS works

How DNS works. What is DNS? Learn how step by step. How DNS works. How to look up authoritative name servers address? How DNS works. What are authoritative name servers? How DNS works. How do you do a DNS lookup? How DNS works. What is a DNS hierarchy? How DNS works. What is a DNS resolver and a DNS resolution?
How DNS works. How to create DNS glue records?
DNSimple · 2015-09-10 · via How DNS works
  • hmm

    Wait...

  • Something is missing here!

  • How could the resolver find 'ns1.dnsimple.com' before 'dnsimple.com'?

  • Since 'ns1.dnsimple.com' is a subdomain of 'dnsimple.com', how could we resolve 'ns1.dnsimple.com' without resolving 'dnsimple.com' first?

  • ns1 . dnsimple .com123

    Isn't the search going backwards?

  • ns1 . dnsimple .com123

    Wouldn't we get stuck in a loop at some point?

  • ns1.domain.com

    For example, let's say that the authoritative server for domain.com is ns1.domain.com

  • .COM

    If I wanted to browse domain.com, the .COM TLD would tell me to get the IP address from the authoritative server: ns1.domain.com

    Go ask ns1.domain.com

  • ns1.domain.com is a subdomain of domain.com

    We cannot get to a subdomain without getting to the domain first!

  • Stuck in a loop!

  • So, what happened? How come the resolver was able to find 'dnsimple.com' through 'ns1.dnsimple.com'?

  • Simple!

    Glue records!

  • Glue records?

  • Exactly!

  • Awesome!

    I'll explain then!

  • When the resolver asked the .COM TLD about dnsimple.com, extra information was attached to that response.

  • [198.241.10.51] [162.159.25.4] [50.31.242.53] [162.159.27.4]ns1.dnsimple.com ns2.dnsimple.com ns3.dnsimple.com ns4.dnsimple.com

    The resolver got at least one IP address for each name server.

  • We call that the glue!

  • 198.241.10.53ns1.dnsimple.com

    So the resolver not only got the name of the authoritative name server, it also got the IP address.

  • ns1.dnsimple.comdnsimple.com

    Thus breaking the circular dependency.

  • Nice! I understand it now!

  • Glue records rock!

  • Yes, they do!

    hahaha, thanks!

  • No more bonus episodeTHE END OF THE BONUS EPISODE
  • You made it through the end! Now is a good time to watch the video that we made for this comic!

  • Watch this short animation based on this comic. They finally have a voice!

    Watch video