Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stardustman committed Oct 6, 2024
1 parent 401730e commit b8e3184
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><title>What-happens-when-you-type-google.com-into-your-browser-and-press-enter - stardustman</title><meta name=renderer content="webkit"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta http-equiv=cache-control content="no-transform"><meta http-equiv=cache-control content="no-siteapp"><meta name=theme-color content="#f8f5ec"><meta name=msapplication-navbutton-color content="#f8f5ec"><meta name=apple-mobile-web-app-capable content="yes"><meta name=apple-mobile-web-app-status-bar-style content="#f8f5ec"><meta name=author content="stardust"><meta name=description content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &amp;ndash;predicate &amp;lsquo;process == &amp;ldquo;mDNSResponder&amp;rdquo;&amp;rsquo; &amp;ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway ip References"><meta name=keywords content="Hugo,theme,even"><meta name=generator content="Hugo 0.119.0 with theme even"><link rel=canonical href=http://stardustman.github.io/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/><link rel=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/favicon-16x16.png><link rel=manifest href=/manifest.json><link rel=mask-icon href=/safari-pinned-tab.svg color=#5bbad5><link href=/sass/main.min.f92fd13721ddf72129410fd8250e73152cc6f2438082b6c0208dc24ee7c13fc4.css rel=stylesheet><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin=anonymous><meta property="og:title" content="What-happens-when-you-type-google.com-into-your-browser-and-press-enter"><meta property="og:description" content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway ip References"><meta property="og:type" content="article"><meta property="og:url" content="http://stardustman.github.io/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/"><meta property="article:section" content="post"><meta property="article:published_time" content="2021-09-11T16:21:12+08:00"><meta property="article:modified_time" content="2021-09-11T16:21:12+08:00"><meta itemprop=name content="What-happens-when-you-type-google.com-into-your-browser-and-press-enter"><meta itemprop=description content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway ip References"><meta itemprop=datePublished content="2021-09-11T16:21:12+08:00"><meta itemprop=dateModified content="2021-09-11T16:21:12+08:00"><meta itemprop=wordCount content="95"><meta itemprop=keywords content="network,interrput,dns,"><meta name=twitter:card content="summary"><meta name=twitter:title content="What-happens-when-you-type-google.com-into-your-browser-and-press-enter"><meta name=twitter:description content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway ip References"><!--[if lte IE 9]><script src=https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js></script><![endif]--><!--[if lt IE 9]><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/html5shiv.min.js></script>
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><title>What-happens-when-you-type-google.com-into-your-browser-and-press-enter - stardustman</title><meta name=renderer content="webkit"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta http-equiv=cache-control content="no-transform"><meta http-equiv=cache-control content="no-siteapp"><meta name=theme-color content="#f8f5ec"><meta name=msapplication-navbutton-color content="#f8f5ec"><meta name=apple-mobile-web-app-capable content="yes"><meta name=apple-mobile-web-app-status-bar-style content="#f8f5ec"><meta name=author content="stardust"><meta name=description content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &amp;ndash;predicate &amp;lsquo;process == &amp;ldquo;mDNSResponder&amp;rdquo;&amp;rsquo; &amp;ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway 的 mac"><meta name=keywords content="Hugo,theme,even"><meta name=generator content="Hugo 0.119.0 with theme even"><link rel=canonical href=http://stardustman.github.io/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/><link rel=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/favicon-16x16.png><link rel=manifest href=/manifest.json><link rel=mask-icon href=/safari-pinned-tab.svg color=#5bbad5><link href=/sass/main.min.f92fd13721ddf72129410fd8250e73152cc6f2438082b6c0208dc24ee7c13fc4.css rel=stylesheet><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin=anonymous><meta property="og:title" content="What-happens-when-you-type-google.com-into-your-browser-and-press-enter"><meta property="og:description" content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway 的 mac"><meta property="og:type" content="article"><meta property="og:url" content="http://stardustman.github.io/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/"><meta property="article:section" content="post"><meta property="article:published_time" content="2021-09-11T16:21:12+08:00"><meta property="article:modified_time" content="2021-09-11T16:21:12+08:00"><meta itemprop=name content="What-happens-when-you-type-google.com-into-your-browser-and-press-enter"><meta itemprop=description content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway 的 mac"><meta itemprop=datePublished content="2021-09-11T16:21:12+08:00"><meta itemprop=dateModified content="2021-09-11T16:21:12+08:00"><meta itemprop=wordCount content="98"><meta itemprop=keywords content="network,interrput,dns,"><meta name=twitter:card content="summary"><meta name=twitter:title content="What-happens-when-you-type-google.com-into-your-browser-and-press-enter"><meta name=twitter:description content="dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway 的 mac"><!--[if lte IE 9]><script src=https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js></script><![endif]--><!--[if lt IE 9]><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/html5shiv.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/[email protected]/dest/respond.min.js></script><![endif]--></head><body><div id=mobile-navbar class=mobile-navbar><div class=mobile-header-logo><a href=/ class=logo>keep writing</a></div><div class=mobile-navbar-icon><span></span>
<span></span>
<span></span></div></div><nav id=mobile-menu class="mobile-menu slideout-menu"><ul class=mobile-menu-list><a href=/><li class=mobile-menu-item>Home</li></a><a href=/post/><li class=mobile-menu-item>Archives</li></a><a href=/tags/><li class=mobile-menu-item>Tags</li></a><a href=/categories/><li class=mobile-menu-item>Categories</li></a><a href=/2022/03/27/about/><li class=mobile-menu-item>About</li></a></ul></nav><div class=container id=mobile-panel><header id=header class=header><div class=logo-wrapper><a href=/ class=logo>keep writing</a></div><nav class=site-navbar><ul id=menu class=menu><li class=menu-item><a class=menu-item-link href=/>Home</a></li><li class=menu-item><a class=menu-item-link href=/post/>Archives</a></li><li class=menu-item><a class=menu-item-link href=/tags/>Tags</a></li><li class=menu-item><a class=menu-item-link href=/categories/>Categories</a></li><li class=menu-item><a class=menu-item-link href=/2022/03/27/about/>About</a></li></ul></nav></header><main id=main class=main><div class=content-wrapper><div id=content class=content><article class=post><header class=post-header><h1 class=post-title>What-happens-when-you-type-google.com-into-your-browser-and-press-enter</h1><div class=post-meta><span class=post-time>2021-09-11</span>
<span class=more-meta>95 words</span>
<span class=more-meta>1 min read</span></div></header><div class=post-toc id=post-toc><h2 class=post-toc-title>Contents</h2><div class="post-toc-content always-active"><nav id=TableOfContents><ul><li><ul><li><a href=#dns-query>dns query</a><ul><li><a href=#browser-cache>browser cache</a></li><li><a href=#etchosts>/etc/hosts</a></li><li><a href=#os-cache>os cache</a></li><li><a href=#dns-resolver>dns resolver</a></li></ul></li><li><a href=#arp-获取-gateway-ip>arp 获取 gateway ip</a></li><li><a href=#references>References</a></li></ul></li></ul></nav></div></div><div class=post-content><h2 id=dns-query>dns query</h2><p>get the ip of the target domain</p><h3 id=browser-cache>browser cache</h3><p>firefox(about:networking#dns)</p><h3 id=etchosts>/etc/hosts</h3><h3 id=os-cache>os cache</h3><ol><li>macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info</li></ol><h3 id=dns-resolver>dns resolver</h3><p>/etc/resolv.conf</p><ol><li>arp -a 查看有没有 dns 服务器的 mac 地址</li><li>ARP request for the nameserver</li><li>send dns query to get the ip of the domain</li></ol><h2 id=arp-获取-gateway-ip>arp 获取 gateway ip</h2><h2 id=references>References</h2><ol><li><a href=http://www.science.smith.edu/~nhowe/262/oldlabs/keyboard.html>keyborad-interrput</a></li><li><a href=https://www.zhihu.com/question/560616439/answer/2722866208>Chrome 是怎么判断地址栏输入的东西是不是网址? -omnibox</a></li><li><a href=about:networking#dns>firefox dns</a></li><li><a href=https://www.fortinet.com/resources/cyberglossary/what-is-arp>ARP</a></li></ol></div><div class=post-copyright><p class=copyright-item><span class=item-title>Author</span>
<span class=more-meta>98 words</span>
<span class=more-meta>1 min read</span></div></header><div class=post-toc id=post-toc><h2 class=post-toc-title>Contents</h2><div class="post-toc-content always-active"><nav id=TableOfContents><ul><li><ul><li><a href=#dns-query>dns query</a><ul><li><a href=#browser-cache>browser cache</a></li><li><a href=#etchosts>/etc/hosts</a></li><li><a href=#os-cache>os cache</a></li><li><a href=#dns-resolver>dns resolver</a></li></ul></li><li><a href=#arp-获取-gateway-的-mac-地址>arp 获取 gateway 的 mac 地址</a></li><li><a href=#references>References</a></li></ul></li></ul></nav></div></div><div class=post-content><h2 id=dns-query>dns query</h2><p>get the ip of the target domain</p><h3 id=browser-cache>browser cache</h3><p>firefox(about:networking#dns)</p><h3 id=etchosts>/etc/hosts</h3><h3 id=os-cache>os cache</h3><ol><li>macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info</li></ol><h3 id=dns-resolver>dns resolver</h3><p>/etc/resolv.conf</p><ol><li>arp -a 查看有没有 dns 服务器的 mac 地址</li><li>ARP request for the nameserver</li><li>send dns query to get the ip of the domain</li></ol><h2 id=arp-获取-gateway-的-mac-地址>arp 获取 gateway 的 mac 地址</h2><h2 id=references>References</h2><ol><li><a href=http://www.science.smith.edu/~nhowe/262/oldlabs/keyboard.html>keyborad-interrput</a></li><li><a href=https://www.zhihu.com/question/560616439/answer/2722866208>Chrome 是怎么判断地址栏输入的东西是不是网址? -omnibox</a></li><li><a href=about:networking#dns>firefox dns</a></li><li><a href=https://www.fortinet.com/resources/cyberglossary/what-is-arp>ARP</a></li></ol></div><div class=post-copyright><p class=copyright-item><span class=item-title>Author</span>
<span class=item-content>stardust</span></p><p class=copyright-item><span class=item-title>LastMod</span>
<span class=item-content>2021-09-11</span></p><p class=copyright-item><span class=item-title>Markdown</span>
<span class=item-content><a class=link-to-markdown href=http://stardustman.github.io/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/index.md target=_blank>The Markdown version »</a></span></p></div><footer class=post-footer><div class=post-tags><a href=/tags/network/>network</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ firefox(about:networking#dns)
2. ARP request for the nameserver
3. send dns query to get the ip of the domain

## arp 获取 gateway ip
## arp 获取 gateway 的 mac 地址

## References

Expand Down
2 changes: 1 addition & 1 deletion index.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions page/4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<span></span></div></div><nav id=mobile-menu class="mobile-menu slideout-menu"><ul class=mobile-menu-list><a href=/><li class=mobile-menu-item>Home</li></a><a href=/post/><li class=mobile-menu-item>Archives</li></a><a href=/tags/><li class=mobile-menu-item>Tags</li></a><a href=/categories/><li class=mobile-menu-item>Categories</li></a><a href=/2022/03/27/about/><li class=mobile-menu-item>About</li></a></ul></nav><div class=container id=mobile-panel><header id=header class=header><div class=logo-wrapper><a href=/ class=logo>keep writing</a></div><nav class=site-navbar><ul id=menu class=menu><li class=menu-item><a class=menu-item-link href=/>Home</a></li><li class=menu-item><a class=menu-item-link href=/post/>Archives</a></li><li class=menu-item><a class=menu-item-link href=/tags/>Tags</a></li><li class=menu-item><a class=menu-item-link href=/categories/>Categories</a></li><li class=menu-item><a class=menu-item-link href=/2022/03/27/about/>About</a></li></ul></nav></header><main id=main class=main><div class=content-wrapper><div id=content class=content><section id=posts class=posts><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/2021/11/28/k8s-deploy-container-using-yaml/>k8s-deploy-container-using-yaml</a></h1><div class=post-meta><span class=post-time>2021-11-28</span>
<span class=more-meta>371 words</span>
<span class=more-meta>1 min read</span></div></header><div class=post-content><div class=post-summary>kubernetes 作为一个云上的操作系统,要想充分利用,就要了解 kubernetes 提供的功能。告诉系统要搞啥,k8s 帮你搞定这一切,归根结底,不开发 k8s 就是一个 k8s 的用户,知道</div><div class=read-more><a href=/2021/11/28/k8s-deploy-container-using-yaml/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/>What-happens-when-you-type-google.com-into-your-browser-and-press-enter</a></h1><div class=post-meta><span class=post-time>2021-09-11</span>
<span class=more-meta>95 words</span>
<span class=more-meta>1 min read</span></div></header><div class=post-content><div class=post-summary>dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway ip References</div><div class=read-more><a href=/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/2021/07/18/asm-java-jit/>asm-java-jit</a></h1><div class=post-meta><span class=post-time>2021-07-18</span>
<span class=more-meta>98 words</span>
<span class=more-meta>1 min read</span></div></header><div class=post-content><div class=post-summary>dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream &ndash;predicate &lsquo;process == &ldquo;mDNSResponder&rdquo;&rsquo; &ndash;info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway 的 mac</div><div class=read-more><a href=/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/2021/07/18/asm-java-jit/>asm-java-jit</a></h1><div class=post-meta><span class=post-time>2021-07-18</span>
<span class=more-meta>736 words</span>
<span class=more-meta>2 mins read</span></div></header><div class=post-content><div class=post-summary>前言 无论多么花里胡哨的功能,最终落地到一台计算机上,都是二进制代码。虽然 java 代码跑在 jvm 平台之上,但是 jvm 只是负责执行 java 自定义的一套 bytecode 的工具,只要</div><div class=read-more><a href=/2021/07/18/asm-java-jit/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/2021/06/18/java-keyword-volatile/>java-keyword-volatile</a></h1><div class=post-meta><span class=post-time>2021-06-18</span>
<span class=more-meta>29 words</span>
Expand Down
Loading

0 comments on commit b8e3184

Please sign in to comment.