DNS - GradedJestRisk/network-training GitHub Wiki
List:
- NS: (Domain) Name server (DNS server)
- A: v4 IP
- AAAA: v6 IP
example.net should be resolved:
- ask to software built-in list for a root zone NS name:
host -t NS -v .givesa.root-servers.net. - ask to software for this root zone NS's IP:
host -v a.root-servers.net.gives198.41.0.4 - ask to this root zone NS for
netfor a TLD NS IPhost -a com. 198.41.0.4</com> gives <code>a.gtld-servers.net.and192.5.6.30 - ask to this
netTLD NS forexampleIP:host example.net. 192.5.6.30gives93.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