Components of URL
http :// homepages.gac.edu / ~sskulrat/index.html
| | |
protocol host file
can also specify port by adding :port
at the end.Demonstrate that IP address can be used wherever a hostname can.
HOSTS.TXT
containing all hosts in the internet. Each host ftp’ed this file and saved a copy. This method does not scale well as network bandwidth grows as \(n^2\).A tree showing example domain & subdomain names
.
edu com org us fr ch
gustavus mit
math cs
Root zone: managed by 13 different organizations (a, b, c, …, m), highly replicated (over 400 root name servers in the world)
format of an RR
name [TTL] [class] type rdata
There are five sections, the last 3 of which are empty in queries
header
question
answer
authority
additional
Try dig www.gustavus.edu