DNS - GradedJestRisk/network-training GitHub Wiki

Table of Contents

Fundamentals

Record

Types

List:

  • NS: (Domain) Name server (DNS server)
  • A: v4 IP
  • AAAA: v6 IP

Resolve manually

example.net should be resolved:

  • ask to software built-in list for a root zone NS name: host -t NS -v . gives a.root-servers.net.
  • ask to software for this root zone NS's IP: host -v a.root-servers.net. gives 198.41.0.4
  • ask to this root zone NS for net for a TLD NS IP host -a com. 198.41.0.4</com> gives <code>a.gtld-servers.net. and 192.5.6.30
  • ask to this net TLD NS for example IP: host example.net. 192.5.6.30 gives 93.184.216.34
  • connect to example IP using netcat: printf "%s\r\n" "GET / HTTP/1.1" "Host: example.net" "" | nc 93.184.216.34 80
⚠️ **GitHub.com Fallback** ⚠️