-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
401730e
commit b8e3184
Showing
8 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
.../09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 &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 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 –predicate ‘process == “mDNSResponder”’ –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 –predicate ‘process == “mDNSResponder”’ –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 –predicate ‘process == “mDNSResponder”’ –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 &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 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 –predicate ‘process == “mDNSResponder”’ –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 –predicate ‘process == “mDNSResponder”’ –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 –predicate ‘process == “mDNSResponder”’ –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 –predicate ‘process == “mDNSResponder”’ –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 –predicate ‘process == “mDNSResponder”’ –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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.