Domain Names and IP Addresses: How Important Is DNS?
Domain Names and IP Addresses: How Important Is DNS?
Domain names are alphanumeric names for IP addresses e.g., neon.cs.virginia.edu, www.google.com
The domain name system (DNS) is an Internet-wide distributed database that translates betweem dom
1
Resolver and name server
An application program on a host accesses the domain system through a DNS client, called the resolver
Resolver contacts DNS server, called name server
DNS server returns IP address to resolver which passes the IP address to application
Reverse lookups are also possible, i.e., find the hostname given an IP address
DNS Name hierarchy
Managed by UVA
Managed by CS Dept.
Domain names
Hosts and DNS domains are named based on their position in the domain tree
Every node in the DNS domain tree can be identified by a unique Fully Qualified Domain Name (FQDN). The FQDN gives th
X
Addresses
Rootof name
root servers
servers
X
There are two types of queries:
Recursive queries
Iterative (non-recursive) queries
Recursive queries
VWTXHU QHRQFVYLUJLQLDHGX
In a recursive query,
5H
H the resolver
IUUDOWRHGXQDP expects the response from the name se
HVHUYHU
QGTXHU QHRQFVYLUJL
Q
LDHGX
5H
H
IUUDOWRYLUJLQLDHGXQDP H VHUYHU
If the server cannot supply the answer, it will send the query to the closest
known authoritative name server (here: In the w
1 D P H VHUYHU HGXVHUYHU
UGTXHUQ
HRQFVYLUJLQLDHGX
5H
H
IUUDOWR FVYLUJLQLDHGX
QDPHVHUYHU
The root sever sends a referral to the edu server. Querying this server yields a referral to the server of virginia.edu
YLUJLQLDHGXVHUYH
and so on WK TXHU QHRQFVYLUJLQLDHGX
YLUJLQLDHGX
VHUYH
WKTXHU
5HVROYHU
QHRQFVYLUJ LQLDHGX
,3 DGGUHVVRI FV
QHRQFVYLUJLQ YLUJLQL
LDHGX DHGX
VHUYH
Caching
Resource Records
db.mylab.com