SlideShare a Scribd company logo
1 of 18
Domain Name
System
Mrs.G.Chandraprabha,M.Sc.,M.Phil.,
Assistant Professor,
Department of Information Technology,
V.V.Vanniaperumal College for Women,
Virudhunagar.
â€ĸ What is DNS?
â€ĸ Internet Directory Service
â€ĸ A client-server application that maps host names into their
corresponding IP addresses
â€ĸ Mapping host names into their corresponding IP
addresses is called name resolution or name translation
or name mapping or Address Resolution
DNS Name Space
īƒ˜ For the Internet, the top of the naming hierarchy is
managed by an organiza- tion called ICANN (Internet
Corporation for Assigned Names and Numbers).
īƒ˜ICANN was created for this purpose in 1998, as part of the
maturing of the Inter- net to a worldwide, economic
concern.
īƒ˜ Conceptually, the Internet is divided into over 250 top-
level domains, where each domain covers many hosts.
īƒ˜Each do- main is partitioned into subdomains, and these
are further partitioned, and so on.
īƒ˜ The leaves of the tree represent domains that have no
subdomains (but do contain machines, of course).
īƒ˜A leaf domain may contain a single host, or it may
represent a company and contain thousands of hosts.
A portion of the Internet domain name space.
inTop level domains
Portion of the Internet domain name space.
DNS Name Space
īƒ˜ The top-level domains come in two flavors: generic and countries.
The generic domains are given below,
īƒ˜ Domain Intended use Start date Restricted?
com Commercial 1985 No
edu Educational institutions 1985 Yes
gov Government 1985 Yes
int International organizations 1988 Yes
mil Military 1985 Yes
net Network providers 1985 No
org Non-profit organizations 1985 No
aero Air transport 2001 Yes
biz Businesses 2001 No
coop Cooperatives 2001 Yes
info Informational 2002 No
museum Museums 2002 Yes
name People 2002 No
pro Professionals 2002 Yes
cat Catalan 2005 Yes
jobs Employment 2005 Yes
mobi Mobile devices 2005 Yes
tel Contact details 2005 Yes
travel Travel industry 2005 Yes
xxx Sex industry 2010 No
DNS Name Space
īƒ˜ The country domains include one entry for every country, as
defined in ISO 3166.
īƒ˜ Internationalized country domain names that use non-Latin
alphabets were introduced in 2010.
īƒ˜These domains let people name hosts in Arabic, Cyrillic, Chinese,
or other languages.
īƒ˜Getting a second-level domain, such as name-of-company.com, is
easy. The top-level domains are run by registrars appointed by
ICANN.
īƒ˜Getting a name merely requires going to a corresponding registrar
(for com in this case) to check if the desired name is available and
not somebody else’s trademark.
īƒ˜If there are no problems, the requester pays the registrar a small
annual fee and gets the name.
DNS Name Space
īƒ˜ Each domain is named by the path upward from it to the
(unnamed) root.
īƒ˜The components are separated by periods (pronounced ‘‘dot’’)
īƒ˜Domain names can be either absolute or relative.
īƒ˜An absolute domain name always ends with a period (e.g.,
eng.cisco.com.), whereas a relative one does not.
īƒ˜Relative names have to be interpreted in some context to uniquely
determine their true meaning.
īƒ˜In both cases, a named domain refers to a specific node in the tree
and all the nodes under it.
īƒ˜Domain names are case-insensitive, so edu, Edu, and EDU mean
the same thing.
īƒ˜ Component names can be up to 63 characters long, and full path
names must not exceed 255 characters.
Domain Resource Records
īƒ˜Every domain, whether it is a single host or a top-level domain, can
have a setof resource records associated with it.
īƒ˜ These records are the DNS database.
īƒ˜ For a single host, the most common resource record is just its IP
address, but many other kinds of resource records also exist.
īƒ˜ When a resolver gives a domain name to DNS, what it gets back
are the resource records associated with that name.
īƒ˜Thus, the primary function of DNS is to map domain names onto
resource records.A resource record is a five-tuple.
īƒ˜Although they are encoded in binary for efficiency,in most
expositions resource records are presented as ASCII text, oneline
per resource record.
īƒ˜The format we will use is as follows:
Domain name Time to live Class Type Value
Domain Resource Records
īƒ˜The Domain name tells the domain to which this record applies.
Normally, many records exist for each domain and each copy of the
database holds information about multiple domains. This field is
thus the primary search key used to satisfy queries. The order of the
records in the database is not significant.
īƒ˜The Time to live field gives an indication of how stable the record
is. Information that is highly stable is assigned a large value, such
as 86400 (the numberof seconds in 1 day). Information that is
highly volatile is assigned a small value, such as 60 (1 minute)
īƒ˜The third field of every resource record is the Class. For Internet
information, it is always IN. For non-Internet information, other
codes can be used, but in practice these are rarely seen.
īƒ˜The Type field tells what kind of record this is. There are many
kinds of DNS records.
Domain Resource Records
īƒ˜An SOA record provides the name of the primary source of
information about the name server’s zone (described below), the
email address of its administrator, a unique serial number, and
various flags and timeouts.
īƒ˜The most important record type is the A (Address) record. It holds a
32-bit IPv4 address of an interface for some host.
īƒ˜The corresponding AAAA, or ‘‘quad A,’’ record holds a 128-bit IPv6
address. Every Internet host must have at least one IP address so
that other machines can communicate with it.
īƒ˜Some hosts have two or more network interfaces, in which case
they will have two or more type A or AAAA resource records.
īƒ˜ Consequently, DNS can return multiple addresses for a single
name.
Domain Resource Records
īƒ˜A common record type is the MX record.
īƒ˜ It specifies the name of the host prepared to accept email for the
specified domain.
īƒ˜Another important record type is the NS record. It specifies a name
server for the domain or subdomain. This is a host that has a copy
of the database for a domain. It is used as part of the process to look
up names, which we will describe shortly.
īƒ˜CNAME records allow aliases to be created .
īƒ˜Like CNAME, PTR points to another name. However, unlike
CNAME, which is really just a macro definition (i.e., a mechanism
to replace one string by another), PTR is a regular DNS data type
whose interpretation depends on the context in which it is found.
īƒ˜RV is a newer type of record that allows a host to be identified for a
given service in a domain.
Domain Resource Records
īƒ˜SPF is also a newer type of record. It lets a domain encode
information about what machines in the domain will send mail to
the rest of the Internet. This helps receiving machines check that
mail is valid.
īƒ˜ Last on the list, TXT records were originally provided to allow
domains to identify themselves in arbitrary ways. Nowadays, they
usually encode machine readable information, typically the SPF
information.
Domain Resource Records
Type Meaning Value
SOA Start of authority Parameters for this zone
A IPv4 address of a host 32-Bit integer
AAAA IPv6 address of a host 128-Bit integer
MX Mail exchange Priority, domain willing to accept email
NS Name server Name of a server for this domain
CNAME Canonical name Domain name
PTR Pointer Alias for an IP address
SPF Sender policy framework Text encoding of mail sending
policy
SRV Service Host that provides it
TXT Text Descriptive ASCII text
The principal DNS resource record types.
Domain Resource Records
īƒ˜ Finally, we have the Value field. This field can be a number, a domain name,or
an ASCII string. The semantics depend on the record type.
īƒ˜ For an example of the kind of information one might find in the DNS database of
a domain
īƒ˜ ; Authoritative data for cs.vu.nl
cs.vu.nl. 86400 IN SOA star boss (9527,7200,7200,241920,86400)
cs.vu.nl. 86400 IN MX 1 zephyr
cs.vu.nl. 86400 IN MX 2 top
cs.vu.nl. 86400 IN NS star
Name Servers
īƒ˜ A single name server could contain the entire DNS database and
respond to all queries about it.
īƒ˜ In practice, this server would be so overloaded as to be useless.
īƒ˜ Furthermore, if it ever went down, the entire Internet would be
crippled.
īƒ˜ To avoid the problems associated with having only a single source
of information, the DNS name space is divided into
nonoverlapping zones.
Name Servers
Each circled zone contains some part of the tree.
Where the zone boundaries are placed within a zone is
up to that zone’s administrator
Name Servers
īƒ˜Each zone is also associated with one or more name servers.
īƒ˜These are hosts that hold the database for the zone.
īƒ˜Normally, a zone will have one primary nameserver, which gets its
information from a file on its disk, and one or more secondary
name servers, which get their information from the primary name
server.
īƒ˜To improve reliability, some of the name servers can be located
outside the zone.
īƒ˜The process of looking up a name and finding an address is called
name resolution.
īƒ˜When a resolver has a query about a domain name, it passes the
query to a local name server.
īƒ˜An authoritative record is one that comes from the authoritythat
manages the record and is thus always correct.
īƒ˜Authoritative records are in contrast to cached records, which may
be out of date.
Thank You

More Related Content

What's hot

Domain name system
Domain name systemDomain name system
Domain name systemVivek Gautam
 
Dns 2
Dns 2Dns 2
Dns 2Tech_MX
 
Dns resource record
Dns resource recordDns resource record
Dns resource recordrahuldaredia21
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)Vikas Jagtap
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)Amandeep Kaur
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Servervipulvaid
 
Dns presentation
Dns presentationDns presentation
Dns presentationAnurag Pandey
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)Vishal Mittal
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name SystemAashima Wadhwa
 
Chapter 4 configuring and managing the dns server role
Chapter 4   configuring and managing the dns server roleChapter 4   configuring and managing the dns server role
Chapter 4 configuring and managing the dns server roleLuis Garay
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)Prakhar Rastogi
 
DNS
DNSDNS
DNSFTC
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution processkannanragothaman
 

What's hot (20)

The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns 2
Dns 2Dns 2
Dns 2
 
Dns resource record
Dns resource recordDns resource record
Dns resource record
 
slide on DNS
slide on DNSslide on DNS
slide on DNS
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)
 
Dns And Snmp
Dns And SnmpDns And Snmp
Dns And Snmp
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Chapter 4 configuring and managing the dns server role
Chapter 4   configuring and managing the dns server roleChapter 4   configuring and managing the dns server role
Chapter 4 configuring and managing the dns server role
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
DNS
DNSDNS
DNS
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 
D.N.S
D.N.SD.N.S
D.N.S
 

Similar to Domainnamesystem

Similar to Domainnamesystem (20)

Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
Computer Networks - DNS
Computer Networks - DNSComputer Networks - DNS
Computer Networks - DNS
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
Internet dns introduction
Internet dns introductionInternet dns introduction
Internet dns introduction
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
3-Application Layer.pptx
3-Application Layer.pptx3-Application Layer.pptx
3-Application Layer.pptx
 
Dns
DnsDns
Dns
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Dns
DnsDns
Dns
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Dns2
Dns2Dns2
Dns2
 
Dns
DnsDns
Dns
 
CSE dns ppt.pptx
CSE dns ppt.pptxCSE dns ppt.pptx
CSE dns ppt.pptx
 
Domain Name System ppt
Domain Name System pptDomain Name System ppt
Domain Name System ppt
 
understanding-dns-essential
understanding-dns-essentialunderstanding-dns-essential
understanding-dns-essential
 
Presentation2.pptx
Presentation2.pptxPresentation2.pptx
Presentation2.pptx
 
Dns
DnsDns
Dns
 

More from V.V.Vanniaperumal College for Women

More from V.V.Vanniaperumal College for Women (20)

Control Memory.pptx
Control Memory.pptxControl Memory.pptx
Control Memory.pptx
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 
Data_Transfer&Manupulation Instructions.pptx
Data_Transfer&Manupulation Instructions.pptxData_Transfer&Manupulation Instructions.pptx
Data_Transfer&Manupulation Instructions.pptx
 
Timing & Control.pptx
Timing & Control.pptxTiming & Control.pptx
Timing & Control.pptx
 
Human Rights - 1.pptx
Human Rights - 1.pptxHuman Rights - 1.pptx
Human Rights - 1.pptx
 
Registers.pptx
Registers.pptxRegisters.pptx
Registers.pptx
 
Instruction Codes.pptx
Instruction Codes.pptxInstruction Codes.pptx
Instruction Codes.pptx
 
Features of Java.pptx
Features of Java.pptxFeatures of Java.pptx
Features of Java.pptx
 
JVM.pptx
JVM.pptxJVM.pptx
JVM.pptx
 
Constructors in JAva.pptx
Constructors in JAva.pptxConstructors in JAva.pptx
Constructors in JAva.pptx
 
IS-Crypttools.pptx
IS-Crypttools.pptxIS-Crypttools.pptx
IS-Crypttools.pptx
 
IS-Delibrate software attacks.pptx
IS-Delibrate software attacks.pptxIS-Delibrate software attacks.pptx
IS-Delibrate software attacks.pptx
 
IS-Nature of forces.ppt
IS-Nature of forces.pptIS-Nature of forces.ppt
IS-Nature of forces.ppt
 
IS-cryptograpy algorithms.pptx
IS-cryptograpy algorithms.pptxIS-cryptograpy algorithms.pptx
IS-cryptograpy algorithms.pptx
 
IS-Types of IDPSs.pptx
IS-Types of IDPSs.pptxIS-Types of IDPSs.pptx
IS-Types of IDPSs.pptx
 
IS-honeypot.pptx
IS-honeypot.pptxIS-honeypot.pptx
IS-honeypot.pptx
 
Sum of subset problem.pptx
Sum of subset problem.pptxSum of subset problem.pptx
Sum of subset problem.pptx
 
M-coloring.pptx
M-coloring.pptxM-coloring.pptx
M-coloring.pptx
 
storm.ppt
storm.pptstorm.ppt
storm.ppt
 
storm for RTA.pptx
storm for RTA.pptxstorm for RTA.pptx
storm for RTA.pptx
 

Recently uploaded

Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Recently uploaded (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 

Domainnamesystem

  • 1. Domain Name System Mrs.G.Chandraprabha,M.Sc.,M.Phil., Assistant Professor, Department of Information Technology, V.V.Vanniaperumal College for Women, Virudhunagar.
  • 2. â€ĸ What is DNS? â€ĸ Internet Directory Service â€ĸ A client-server application that maps host names into their corresponding IP addresses â€ĸ Mapping host names into their corresponding IP addresses is called name resolution or name translation or name mapping or Address Resolution
  • 3. DNS Name Space īƒ˜ For the Internet, the top of the naming hierarchy is managed by an organiza- tion called ICANN (Internet Corporation for Assigned Names and Numbers). īƒ˜ICANN was created for this purpose in 1998, as part of the maturing of the Inter- net to a worldwide, economic concern. īƒ˜ Conceptually, the Internet is divided into over 250 top- level domains, where each domain covers many hosts. īƒ˜Each do- main is partitioned into subdomains, and these are further partitioned, and so on. īƒ˜ The leaves of the tree represent domains that have no subdomains (but do contain machines, of course). īƒ˜A leaf domain may contain a single host, or it may represent a company and contain thousands of hosts.
  • 4. A portion of the Internet domain name space. inTop level domains Portion of the Internet domain name space.
  • 5. DNS Name Space īƒ˜ The top-level domains come in two flavors: generic and countries. The generic domains are given below, īƒ˜ Domain Intended use Start date Restricted? com Commercial 1985 No edu Educational institutions 1985 Yes gov Government 1985 Yes int International organizations 1988 Yes mil Military 1985 Yes net Network providers 1985 No org Non-profit organizations 1985 No aero Air transport 2001 Yes biz Businesses 2001 No coop Cooperatives 2001 Yes info Informational 2002 No museum Museums 2002 Yes name People 2002 No pro Professionals 2002 Yes cat Catalan 2005 Yes jobs Employment 2005 Yes mobi Mobile devices 2005 Yes tel Contact details 2005 Yes travel Travel industry 2005 Yes xxx Sex industry 2010 No
  • 6. DNS Name Space īƒ˜ The country domains include one entry for every country, as defined in ISO 3166. īƒ˜ Internationalized country domain names that use non-Latin alphabets were introduced in 2010. īƒ˜These domains let people name hosts in Arabic, Cyrillic, Chinese, or other languages. īƒ˜Getting a second-level domain, such as name-of-company.com, is easy. The top-level domains are run by registrars appointed by ICANN. īƒ˜Getting a name merely requires going to a corresponding registrar (for com in this case) to check if the desired name is available and not somebody else’s trademark. īƒ˜If there are no problems, the requester pays the registrar a small annual fee and gets the name.
  • 7. DNS Name Space īƒ˜ Each domain is named by the path upward from it to the (unnamed) root. īƒ˜The components are separated by periods (pronounced ‘‘dot’’) īƒ˜Domain names can be either absolute or relative. īƒ˜An absolute domain name always ends with a period (e.g., eng.cisco.com.), whereas a relative one does not. īƒ˜Relative names have to be interpreted in some context to uniquely determine their true meaning. īƒ˜In both cases, a named domain refers to a specific node in the tree and all the nodes under it. īƒ˜Domain names are case-insensitive, so edu, Edu, and EDU mean the same thing. īƒ˜ Component names can be up to 63 characters long, and full path names must not exceed 255 characters.
  • 8. Domain Resource Records īƒ˜Every domain, whether it is a single host or a top-level domain, can have a setof resource records associated with it. īƒ˜ These records are the DNS database. īƒ˜ For a single host, the most common resource record is just its IP address, but many other kinds of resource records also exist. īƒ˜ When a resolver gives a domain name to DNS, what it gets back are the resource records associated with that name. īƒ˜Thus, the primary function of DNS is to map domain names onto resource records.A resource record is a five-tuple. īƒ˜Although they are encoded in binary for efficiency,in most expositions resource records are presented as ASCII text, oneline per resource record. īƒ˜The format we will use is as follows: Domain name Time to live Class Type Value
  • 9. Domain Resource Records īƒ˜The Domain name tells the domain to which this record applies. Normally, many records exist for each domain and each copy of the database holds information about multiple domains. This field is thus the primary search key used to satisfy queries. The order of the records in the database is not significant. īƒ˜The Time to live field gives an indication of how stable the record is. Information that is highly stable is assigned a large value, such as 86400 (the numberof seconds in 1 day). Information that is highly volatile is assigned a small value, such as 60 (1 minute) īƒ˜The third field of every resource record is the Class. For Internet information, it is always IN. For non-Internet information, other codes can be used, but in practice these are rarely seen. īƒ˜The Type field tells what kind of record this is. There are many kinds of DNS records.
  • 10. Domain Resource Records īƒ˜An SOA record provides the name of the primary source of information about the name server’s zone (described below), the email address of its administrator, a unique serial number, and various flags and timeouts. īƒ˜The most important record type is the A (Address) record. It holds a 32-bit IPv4 address of an interface for some host. īƒ˜The corresponding AAAA, or ‘‘quad A,’’ record holds a 128-bit IPv6 address. Every Internet host must have at least one IP address so that other machines can communicate with it. īƒ˜Some hosts have two or more network interfaces, in which case they will have two or more type A or AAAA resource records. īƒ˜ Consequently, DNS can return multiple addresses for a single name.
  • 11. Domain Resource Records īƒ˜A common record type is the MX record. īƒ˜ It specifies the name of the host prepared to accept email for the specified domain. īƒ˜Another important record type is the NS record. It specifies a name server for the domain or subdomain. This is a host that has a copy of the database for a domain. It is used as part of the process to look up names, which we will describe shortly. īƒ˜CNAME records allow aliases to be created . īƒ˜Like CNAME, PTR points to another name. However, unlike CNAME, which is really just a macro definition (i.e., a mechanism to replace one string by another), PTR is a regular DNS data type whose interpretation depends on the context in which it is found. īƒ˜RV is a newer type of record that allows a host to be identified for a given service in a domain.
  • 12. Domain Resource Records īƒ˜SPF is also a newer type of record. It lets a domain encode information about what machines in the domain will send mail to the rest of the Internet. This helps receiving machines check that mail is valid. īƒ˜ Last on the list, TXT records were originally provided to allow domains to identify themselves in arbitrary ways. Nowadays, they usually encode machine readable information, typically the SPF information.
  • 13. Domain Resource Records Type Meaning Value SOA Start of authority Parameters for this zone A IPv4 address of a host 32-Bit integer AAAA IPv6 address of a host 128-Bit integer MX Mail exchange Priority, domain willing to accept email NS Name server Name of a server for this domain CNAME Canonical name Domain name PTR Pointer Alias for an IP address SPF Sender policy framework Text encoding of mail sending policy SRV Service Host that provides it TXT Text Descriptive ASCII text The principal DNS resource record types.
  • 14. Domain Resource Records īƒ˜ Finally, we have the Value field. This field can be a number, a domain name,or an ASCII string. The semantics depend on the record type. īƒ˜ For an example of the kind of information one might find in the DNS database of a domain īƒ˜ ; Authoritative data for cs.vu.nl cs.vu.nl. 86400 IN SOA star boss (9527,7200,7200,241920,86400) cs.vu.nl. 86400 IN MX 1 zephyr cs.vu.nl. 86400 IN MX 2 top cs.vu.nl. 86400 IN NS star
  • 15. Name Servers īƒ˜ A single name server could contain the entire DNS database and respond to all queries about it. īƒ˜ In practice, this server would be so overloaded as to be useless. īƒ˜ Furthermore, if it ever went down, the entire Internet would be crippled. īƒ˜ To avoid the problems associated with having only a single source of information, the DNS name space is divided into nonoverlapping zones.
  • 16. Name Servers Each circled zone contains some part of the tree. Where the zone boundaries are placed within a zone is up to that zone’s administrator
  • 17. Name Servers īƒ˜Each zone is also associated with one or more name servers. īƒ˜These are hosts that hold the database for the zone. īƒ˜Normally, a zone will have one primary nameserver, which gets its information from a file on its disk, and one or more secondary name servers, which get their information from the primary name server. īƒ˜To improve reliability, some of the name servers can be located outside the zone. īƒ˜The process of looking up a name and finding an address is called name resolution. īƒ˜When a resolver has a query about a domain name, it passes the query to a local name server. īƒ˜An authoritative record is one that comes from the authoritythat manages the record and is thus always correct. īƒ˜Authoritative records are in contrast to cached records, which may be out of date.