cita 310 section 1 name resolution (textbook chapter 4)
TRANSCRIPT
![Page 1: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/1.jpg)
CITA 310 Section 1
Name Resolution(Textbook Chapter 4)
![Page 2: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/2.jpg)
Understanding the DNS DNS is used to map host names to IP
addresses on the Internet Also called name resolution or address
resolution Whenever a host is added, a
configuration file has to be changed A host represents a service on a server
such as a Web server There can be many hosts on a single
computer
![Page 3: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/3.jpg)
Clients On your PC, the TCP/IP
configuration contains the address(es) of your DNS server(s)
Whenever you use a URL, whether in a browser, or a utility such as ping, DNS is used
![Page 4: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/4.jpg)
Domain Namespaces The root level domain is "."
Significant in creating DNS files Top-level domains include com, org, fr Second-level domains are often owned
by companies and individuals microsoft.com, devry.edu
A subdomain is a further division of a second-level domain For devry.edu, there is phx.devry.edu
![Page 5: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/5.jpg)
Domain Namespaces Second-level domains, such as
devry.edu have control over naming within their domain
Create hosts such as www, ftp, bb A name such as www.devry.edu is a
fully qualified domain name (FQDN) We could create subdomains such as
phx www.phx.devry.edu
![Page 6: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/6.jpg)
Top-Level Domains .biz - businesses .info - anyone can register .name - must register first and last
name .pro - for professionals only
must provide proof .aero, .museum, .coop are controlled by
organizations
![Page 7: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/7.jpg)
Host Names Can be different from the name of the
computer Many hosts can be associated with the same
Web server
![Page 8: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/8.jpg)
How DNS Works
![Page 9: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/9.jpg)
DNS Components Name server – also known as DNS
server supports name-to-address and address-
to-name resolution Name resolver – also called DNS
client Can contact DNS server to lookup name Used by browsers, e-mail clients, and
client utilities such as ping and tracert
![Page 10: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/10.jpg)
DNS Servers that Define the Internet
Primary and secondary servers store the host names used on the Internet
Caching and forwarding servers search the Internet for host names
![Page 11: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/11.jpg)
Primary and Secondary Servers Primary Server
Defines the hosts for the domain Maintains the database for the domain
It has authority for the domain Secondary Server
Gets data from primary server Provides fault tolerance and load
distribution Required for Internet domains
![Page 12: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/12.jpg)
Primary and Secondary Servers If you use DNS, you will often work with
your ISP In a simple environment, the ISP will
have the primary and secondary DNS servers You contact them for changes
You can also split the servers ISP has primary, you have secondary You have primary, ISP has secondary
![Page 13: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/13.jpg)
Primary and Secondary Servers
ISP maintains DNS You have to send changes to ISP You have the secondary server
which gets updates from the primary server
Your users reference your secondary server which is faster
![Page 14: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/14.jpg)
Primary and Secondary Servers
You have complete control over DNS
You can make changes whenever you want
If your primary DNS goes down, the secondary will continue to function (but not indefinitely)
![Page 15: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/15.jpg)
Resolve Host Names Caching Server
Resolves host names Caches (saves) the results Automatically installed when DNS is installed No configuration necessary
Forwarding Server Caching server that has access to the
Internet and forwards traffic from other caching servers
![Page 16: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/16.jpg)
Caching and Forwarding Servers
![Page 17: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/17.jpg)
Zones A zone is a part of the domain
namespace For a domain as small as
technowidgets.com, the domain name represents a single zone
For large organizations (such as IBM), subdomains can be divided into separately maintained zones Each zone typically has a separate DNS
![Page 18: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/18.jpg)
Zones Zones must be contiguous
admin.devry.edu can be combined with devry.edu
admin.devry.edu cannot be combined with student.devry.edu
There must be one primary DNS server in each zone (plus a secondary server)
Each zone can have multiple secondary DNS servers
![Page 19: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/19.jpg)
Zone File Configuration Forward Lookup
These zones contain entries that map names to IP addresses
Reverse Lookup These zones contain entries that map
IP addresses to names
![Page 20: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/20.jpg)
Common DNS Records
DNS record Function
Address (A) Associates a host to an IP address.
Canonical name (CNAME)
Creates an alias for a specified host.
Internet (IN) Identifies Internet records; precedes most DNS record entries.
Mail Exchanger (MX)
Identifies a server used for processing and delivering e-mail for the domain.
Name server (NS)
Identifies DNS servers for the DNS domain.
Pointer (PTR) Performs reverse DNS lookups. Resolves an IP address to a host name.
Start of Authority (SOA)
Identifies the DNS server with the most current information for the DNS domain.
![Page 21: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/21.jpg)
Forward Lookup Zone Example
$TTL 86400@ IN SOA web1.technowidgets.com.
admn.technowidgets.com. ( 2002072100 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS web1
IN A 192.168.0.100 IN MX 10 mail.technowidgets.com.
web1 IN A 192.168.0.100www IN CNAME web1research IN A 192.168.0.150
IN MX 10 mailmail IN A 192.168.0.200
![Page 22: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/22.jpg)
Reverse Lookup Zone Example
$TTL 86400@ IN SOA web1.technowidgets.com.
admn.technowidgets.com. ( 2002072100 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS web1
100 IN PTR web1.technowidgets.com.150 IN PTR research.technowidgets.com.200 IN PTR mail.technowidgets.com.
![Page 23: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/23.jpg)
Finished DNS Configuration in Windows
![Page 24: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/24.jpg)
Troubleshooting DNSping
ping displays name resolution even if the computer cannot be contacted
![Page 25: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/25.jpg)
Troubleshooting DNSnslookup nslookup can display information from the DNS server
![Page 26: CITA 310 Section 1 Name Resolution (Textbook Chapter 4)](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649eab5503460f94bb17f7/html5/thumbnails/26.jpg)
Troubleshooting DNSdig – available on Linux