Data Communication &networks: Domain Name System
Data Communication &networks: Domain Name System
Data Communication &networks: Domain Name System
Lab
Hassan Bashir
Today’s Agenda/Topic:
3
Internet Names and Addresses
• Addresses, e.g. 129.10.117.100
• Computer usable labels for machines
• Conform to structure of the network
• Names, e.g. www.usa.edu
• Human usable labels for machines
• Conform to organizational structure
• How do you map from one to the other?
• Domain Name System (DNS)
4
Ad dr es ses a r e used to locate objects
.pk Pakistan
.jp japan
.us United S tates
.fr france
.it Italy
.cn China
.au Australia
Itis a special domain name in-addr.apra that is used
translate the IP a d d r es s to fully qualified domain name
EXAMPLE:
1.4.220.134 in-addr.apra will return sunc.scit.wlv. Her e
1.4.220.134 is the IP ad d r e s s that is mapped to its
name sunc.scit.wlv.at.uk with the help of in-addr.apra
domain.
Each domain name has a corresponding IP a d d r es s
DEFINITION:
14
root DNS
server
8. The local DNS server then sends this IP Yahoo.com DNS server
address back to the client computer that send
the request DNS client requesting for
www.yahoo.com
DNS TOOLS
• There are several tools for monitoring DNS
information:
– whois –https://whois.domaintools.com tells you the
owner and primary DNS servers associated with a
domain (e.g. whois yahoo.com). Also available
via web browser at www.networksolutions.com
DNS TOOLS
• -nslookup and host (on UNIX machines) tell you IP address
information for a particular hostname on the internet (e.g.
-nslookup www.gmail.com or host www.nic.edu)
DNS TASKS
• What are IP addresses of the DNS
servers that contain information about
usa.edu.pk -
• What are the IP address of:
– www.google.com
– sandy.admin.tcs.com
– www.linux.org
DNS configuration using Packet Tracer