Professional Documents
Culture Documents
NAME ID
Gtasew Abebaw--------------------------------- 0123
Tsega Endalbaba---------------------------------
Addisa Kasahun----------------------------------
1.2.1. Terminology........................................................................................................................1
Reference.............................................................................................................................................15
Domain Names: A domain name is a human-readable name - like amazon.com - that we type
in a web browser URL field. The Internet Corporation for Assigned Names and Numbers
(ICANN) manages these domain names
Top Level Domain (TLD): TLD refers to the last part of a domain name. For example, the
.com in amazon.com is the Top Level Domain. The most common TLDs include .com, .net,
org, and .info. Country code TLDs represent specific geographic locations. For example: .in
represents India. Here are some more examplesCOM– Commercial businesses.
GOV– U.S. government agencies.
EDU – Educational institutions such as universities.
ORG – Organizations (mostly non-profit).
MIL – Military.
NET – Network organizations.
EU – European Union.
Second Level Domain
This is the part of a domain name which comes right before the TLD - amazon.com for
example.
Sub Domain: A subdomain can be created to identify unique content areas of a web site. For
example, the awes of was.amazon.com.
Domain Name Registrar: By managing domain name reservations, name registrars are
critical to how DNS works. ICANN currently grants permission to organizations to act as
domain name registrars for specific higher level domains.
Domain Name System record types
A Record (Address record): A Records map server IP addresses to domain names. For
example, 72.21.206.6 to amazon.com.
MX Record: Mail Exchange Record. These records will redirect a domain’s email to the
servers hosting the domain’s user accounts. Mail exchange records are used for determining
the priority of email servers for a domain.
When a user types a human-readable address into the browser, the operating system’s DNS
client will check for information in a local cache. If the requested address isn’t there, it will
look for a Domain Name System server in the local area network (LAN). When the local
DNS server receives the query, and the requested domain name is found, it will return the
result.
An Authoritative Root Name Server maintains and provides a list of authoritative name
servers for each of the top-level domains (.com, .org, etc.).
If the name is not found, the local server will forward the query to a DNS cache server, often
provided by the Internet Service Provider (ISP). Since the DNS server’s cache contains a
An Authoritative Top Level Domain Name Server maintains and provides a list of
authoritative name servers for all domains (gmail.com, wikipedia.org, etc.). Its job is to query
name servers to find and return the authoritative name server for the requested domain.
Now that we’ve got a better idea of how DNS works, the next post will introduce you
Amazon’s Route53 and show you.
The latest report shows there were 342.4 million domain names in the third quarter of 2018
and we would have been lost without DNS to resolve them into IP address.
When you want to call someone using your cell phone, it is highly unlikely you punch in the
exact phone number. Instead, you load the contact list and search using the person’s name.
DNS does the same thing when you want to load a website.
DNS caching or flushing is an effective way to reduce potential DNS queries towards DNS
name servers. This speeds up the domain name resolving procedure. Caching happens at
multiple locations. This includes your computer, sometimes routers, while all DNS servers
have their own databases with cached information.
When you type www.phoenixnap.com into a browser, in order to load the webpage, your
computer asks for the IP address. Computers do not know in advance where they can find the
necessary information, so they try searching through the DNS cache and any available
external source.
Before going externally, your computer loads the local DNS cache database to see if you
already requested the IP for that domain name. Every computer has a temporary cache with
the most recent DNS requests and attempts to connect to online sources.
When the DNS cache has the IP data for the website that you are trying to connect to, the
page loads immediately.
Step 3 - Contact ISP and its Recursive DNS Server to Resolve a Domain Name
A computer’s local DNS cache database does not always contain the necessary data to
resolve a domain name. In that case, the request goes further to your Internet Service
Provider (ISP) and its DNS server.
Once it gets a request, the resolver looks in its records to provide the correct IP address.
When the necessary information is present in the ISP server’s cached records, the computer
gets back the IP and connects to the website.
When a DNS client sends such a request, the first responding server does not provide the
needed IP address. Instead, it directs the request to another server that is lower in the DNS
hierarchy, and that one to another until the IP address is fully resolved. There are a few stops
in this process.
You must increment the Serial Number every time you make changes
to the zone file. If you make multiple changes before restarting
BIND9, simply increment the Serial once.
Now, you can add DNS records to the bottom of the zone file.
See Common Record Types for details.
Many admins like to use the last date edited as the serial of a zone,
such as 2012010100 which is yyyymmddss (where ss is the Serial
Number)
Once you have made changes to the zone file BIND9 needs to be
restarted for the changes to take effect:
sudo systemctl restart bind9.service
resolv.conf
The first step in testing BIND9 is to add the nameserver's IP Address
to a hosts resolver. The Primary nameserver should be configured as
well as another host to double check things. Refer to DNS Client
Configuration for details on adding nameserver addresses to
your network clients, and afterwards check that the
file /etc/resolv.conf contains (for this example):
nameserver 192.168.1.10
nameserver 192.168.1.11