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

推荐订阅源

C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
V
Visual Studio Blog
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
D
Docker
MyScale Blog
MyScale Blog
小众软件
小众软件
云风的 BLOG
云风的 BLOG
美团技术团队
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 【当耐特】

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