From b8e3184c517e361192bc07928feaf677e1baa79f Mon Sep 17 00:00:00 2001 From: stardustman Date: Sun, 6 Oct 2024 04:37:55 +0000 Subject: [PATCH] deploy: stardustman/blog@d04422257b26d370426af6f6337b7edb8af181a9 --- .../index.html | 6 +++--- .../index.md | 2 +- index.xml | 2 +- page/4/index.html | 4 ++-- post/index.xml | 2 +- tags/dns/index.xml | 2 +- tags/interrput/index.xml | 2 +- tags/network/index.xml | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/index.html b/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/index.html index 0edce392..89fec305 100644 --- a/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/index.html +++ b/2021/09/11/what-happens-when-you-type-google.com-into-your-browser-and-press-enter/index.html @@ -1,9 +1,9 @@ -What-happens-when-you-type-google.com-into-your-browser-and-press-enter - stardustman

What-happens-when-you-type-google.com-into-your-browser-and-press-enter

Contents

dns query

get the ip of the target domain

browser cache

firefox(about:networking#dns)

/etc/hosts

os cache

  1. macos 查看 dns 请求日志 sudo log stream –predicate ‘process == “mDNSResponder”’ –info

dns resolver

/etc/resolv.conf

  1. arp -a 查看有没有 dns 服务器的 mac 地址
  2. ARP request for the nameserver
  3. send dns query to get the ip of the domain

arp 获取 gateway ip

References

  1. keyborad-interrput
  2. Chrome 是怎么判断地址栏输入的东西是不是网址? -omnibox
  3. firefox dns
  4. ARP

Contents

dns query

get the ip of the target domain

browser cache

firefox(about:networking#dns)

/etc/hosts

os cache

  1. macos 查看 dns 请求日志 sudo log stream –predicate ‘process == “mDNSResponder”’ –info

dns resolver

/etc/resolv.conf

  1. arp -a 查看有没有 dns 服务器的 mac 地址
  2. ARP request for the nameserver
  3. send dns query to get the ip of the domain

arp 获取 gateway 的 mac 地址

References

  1. keyborad-interrput
  2. Chrome 是怎么判断地址栏输入的东西是不是网址? -omnibox
  3. firefox dns
  4. ARP

k8s-deploy-container-using-yaml

kubernetes 作为一个云上的操作系统,要想充分利用,就要了解 kubernetes 提供的功能。告诉系统要搞啥,k8s 帮你搞定这一切,归根结底,不开发 k8s 就是一个 k8s 的用户,知道

What-happens-when-you-type-google.com-into-your-browser-and-press-enter

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

asm-java-jit

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

asm-java-jit

前言 无论多么花里胡哨的功能,最终落地到一台计算机上,都是二进制代码。虽然 java 代码跑在 jvm 平台之上,但是 jvm 只是负责执行 java 自定义的一套 bytecode 的工具,只要

java-keyword-volatile