SlideShare a Scribd company logo
1 of 43
The Domain Name System
Overview
• Introduction
• DNS overview
• How DNS helps us?
• Summary
Introduction
Welcome
• Brief Presentation
• We could spend all Day
• Unsure about level of technical expertise
• Stop me at any point if you have a query
DNS Overview
What is DNS?
• Distributed Directory Service
• Maps names to values – resource records
• Highly resilient to attack*
• Major backbone of the internet
• Makes networks human friendly
• Defined (primarily) in RFC1034 and 1035
*if implemented properly
com net au info biz
com net
org
org
Other
ccTLDs
id
internal prosrs
google yahoo theage
microsoft
ausregistry
“root” zone
TLDs & ccTLDs
2lds
3lds
4lds
com net
au
com net
org id
google yahoo
microsoft
C:
Program
Files
Temp
Windows
System32 Fonts
Cache Media
dllcache spool
drivers
DNS vs File System
com net
au
com net
org id
google yahoo
microsoft
C:
Program
Files
Temp
Windows
System32 Fonts
Cache Media
dllcache spool
drivers
Naming a Domain Naming a Directory
yahoo.com.au. C:windowssystem32d
rivers
Start
Here
Start
Here
A “.” is used as
separator
A “” is used as
separator
com net au info biz
com net
org
org
Other
ccTLDs
id
internal prosrs
google yahoo theage
microsoft
ausregistry
“root” zone
TLDs & ccTLDs
2lds
3lds
4lds
“zone cuts” or
delegation
points
What is a domain?
• A domain is a sub tree of a larger tree identified by
a domain name
• Contains resource records and sub-domains
• Some resource records point to authoritative server
for sub-domains / zones
• eg. the root contains pointers to .au
• google.com.au is a domain
com net au info biz
com net
org
org
Other
ccTLDs
id
internal prosrs
google yahoo theage
microsoft
ausregistry
The
ausregistry.com.au
sub-domain of com.au
Domain com.au
What is a resource record?
• A domain contains resource records
• Resource records are analogous to files
• Classified into types
• Some of the important types are SOA, NS, A,
CNAME and MX
• Normally defines in “zone files”
The “A” Record
• The “Address” record
• One or more normally defines a host
• Contains an IPv4 Address (the address computers
use to uniquely identify each other on the internet)
• Eg. The record:
www A 203.18.56.31
In the ausregistry.com.au domain, defines the host
uniquely identifiable as “www.ausregistry.com.au”
to be reachable at the IPv4 Address 203.18.56.31
The “CNAME” Record
• A CNAME defines an alias
• The alias will then be resolved, if another CNAME is
encountered then the process continues until an A
record is found
• Eg. The record:
search CNAME www.google.com.
In the ausregistry.com.au domain, defines the name
uniquely identifiable as
“search.ausregistry.com.au” to be and alias to
“www.google.com”
The “MX” Record
• An MX record defines the mail servers for a
particular domain
• Mail eXchange records hold the name of hosts, and
their priorities, able to deliver mail for the domain.
• Eg. The record:
ausregistry.com.au MX 10 mail
In the ausregistry.com.au domain, defines the host
mail to be the priority 10 mail server for the
“ausregistry.com.au” domain
The “NS” Record
• An NS record defines the authoritative Name
servers for the domain.
• The “Name Server” records also define the name
servers of children domains
• Eg. The record:
internal NS ns1.hosting.com.au.
In the ausregistry.com.au domain, defines the host
“ns1.hosting.com.au” to be a name sever for the
“internal.ausregistry.com.au” sub-domain
What is a Delegation?
• Delegation refers to the act of putting NS records in
a domain name “delegating” control of a sub-
domain to another entity
• This entity then has the ability to control the
resource records in this sub-domain and delegate
further children domains to other entities.
• Eg. IANA delegating control of a country code
domain to the country.
What is a zone?
• Its records are held in a database (“zonefile”) and
served from an authoritative name server
• Zone refers to all the resource records in a domain
but not its sub domains, the com.au zone contains
delegations records for ausregistry.com.au, but not
the resource records for ausregistry.com.au,
however all of these records are part of the com.au
domain
What is a Name Sever?
Server responsible for answering DNS queries
• Exists at all levels of hierarchy
• Authoritative name servers hold part of the DNS
database
• One name server can serve more then one zone
• Many name servers “should” serve the same zone
• Some name servers are authoritative for certain
zones
Iterative vs Recursive Name Servers
• Serve two very different functions
• Shouldn’t mix the two
• Generally the DNS your computer points to is
recursive
• Zones are hosted in iterative name servers
• Iterative servers can only answer information they
know or have cached
• Recursive know how to ask others for information
Some Important Terminology
• TLD, ccTLD, 2ld, 3ld …
• resolver, name server, iterative, recursive
• delegation, authoritative, domain, sub-domain
• zone, zone cut, zonefile
• start of authority (SOA), TTL, negative TTL, expiry,
serial number
• primary, secondary
Who runs what?
• ICANN/IANA have been granted the power by the US
department of commerce to run the root zone.
• Root ‘zone’ is split into all the ISO ccTLD and some
other TLD’s eg. .com, .net, .info
• Domain name Registries are appointed to operate
the “major” zones.
• Each country elects a delegate whom controls their
ccTLD eg in Australia the delegate is auDA.
• Modify TLD and ccTLD resource records on behalf
of registrants through a system of registrars eg.
MelbourneIT.
So what does all this mean to you?
• Domain names make large networks such as the
internet human friendly
• IPv4 address difficult to remember and offer no hint
as to whom they belong to.
• Problem gets worse when you consider IPv6
• Allow intelligent systems (eg Mail (SMTP)) to
preform tasks automatically
Accessing a web page
• You type http://www.google.com into your web
browser and hit enter.
• What happens now?
Step 1: Your PC sends a resolution
request to its configured DNS
Server, typically at your ISP.
Your PC
ISP “Recursive” DNS server
Tell me the Address of
“www.google.com”
ISP “Recursive” DNS server
Root Servers
Step 2: Your ISPs recursive name
server starts by asking one of the
root servers predefined in its “hints”
file.
Tell me the Address of
“www.google.com”
I don’t know the address but I
know who’s authoritative for the
”com” domain ask them
ISP “Recursive” DNS server
“com” DNS servers
Step 3: Your ISPs recursive name
server then asks one of the “com”
name servers as directed.
Tell me the Address of
“www.google.com”
I don’t know the address but I
know who’s authoritative for the
”google.com” domain ask them
ISP “Recursive” DNS server google.com DNS server
Step 4: Your ISPs recursive name
server then asks one of the
“google.com” name servers as
directed.
Tell me the Address of
“www.google.com”
The Address of www.google.com
is 216.239.53.99
Step 5: ISP DNS server then send
the answer back to your PC. The
DNS server will “remember” the
answer for a period of time.
Your PC
ISP “Recursive” DNS server
The Address of www.google.com
is 216.239.53.99
Step 6: Your PC can then make the
actual HTTP request to the web
server.
Your PC
www.google.com web server
Here it is!
Send me the www.google.com.au
web page
Summary
ISP “Recursive” DNS server “com” DNS servers
“root” DNS servers
google.com DNS server
3
2
4
Your PC
5
1
google.com.au
Web Server
WEB (HTTP)
Request
DNS requests
6
The actual
web request
DNS
Sending an Email
• DNS is not just used in HTTP protocol (web pages)
• DNS is involved in almost every protocol in use on
the internet
• Next example is how DNS facilitates the transfer of
electronic mail.
Step 1: Your PC sends the e-mail
to its configured outbound mail
server. A DNS request similar to the
previous example is required to find
the address of the mail server.
Your PC
Outbound Mail (SMTP) Server
Please send this message to
“someone@example.com”
Outbound Mail server
DNS servers
Step 2: Your mail server follows
the same intensive process to find
the authoritative servers for
“example.com”.
Tell me the name servers for
“example.com”
Here are the name servers for
“example.com”
Outbound Mail Server example.com DNS server
Step 3: Ask the “example.com”
name server for the list of “Mail
eXchangers (MX) for that domain.
Tell me the MX’s for
“example.com”
The MXs are mx10.example.com
and mx20.backmail.com
Outbound Mail Server example.com Mail server
Step 4: Select a Mail server and
deliver the mail.
Here is some mail for the
“example.com” domain
Mail accepted for delivery
Summary
• DNS is integral part in most protocols used on the
internet
• Makes the internet human friendly for us all
• Is the world largest distributed database system
• Fits the international model perfectly
• In simple terms is a mapping between names and
IP addresses
Questions?
Thank you
Domain name system advanced power point presentation
Domain name system advanced power point presentation

More Related Content

Similar to Domain name system advanced power point presentation

Similar to Domain name system advanced power point presentation (20)

Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DNS_Presentation.pptx
DNS_Presentation.pptxDNS_Presentation.pptx
DNS_Presentation.pptx
 
DNS
DNSDNS
DNS
 
Lecture 5- url-dns
Lecture  5- url-dnsLecture  5- url-dns
Lecture 5- url-dns
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
 
DNS Security Issues NES 554 for DNS Security
DNS Security Issues  NES 554 for DNS SecurityDNS Security Issues  NES 554 for DNS Security
DNS Security Issues NES 554 for DNS Security
 
Dns
DnsDns
Dns
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
Dns
DnsDns
Dns
 
Introduction to DNS
Introduction to DNSIntroduction to DNS
Introduction to DNS
 
Internet Host Name
Internet Host NameInternet Host Name
Internet Host Name
 
Domain Name System(ppt)
Domain Name System(ppt)Domain Name System(ppt)
Domain Name System(ppt)
 
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting BasicsDomain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Domain name service
Domain name serviceDomain name service
Domain name service
 
Domain name system
Domain name systemDomain name system
Domain name system
 
slide on DNS
slide on DNSslide on DNS
slide on DNS
 
DNS for Developers - NDC Oslo 2016
DNS for Developers - NDC Oslo 2016DNS for Developers - NDC Oslo 2016
DNS for Developers - NDC Oslo 2016
 
Dn sonly
Dn sonlyDn sonly
Dn sonly
 

Recently uploaded

electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
drjose256
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
IJECEIAES
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 

Recently uploaded (20)

Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 

Domain name system advanced power point presentation

  • 1.
  • 2.
  • 3. The Domain Name System Overview • Introduction • DNS overview • How DNS helps us? • Summary
  • 5. Welcome • Brief Presentation • We could spend all Day • Unsure about level of technical expertise • Stop me at any point if you have a query
  • 7. What is DNS? • Distributed Directory Service • Maps names to values – resource records • Highly resilient to attack* • Major backbone of the internet • Makes networks human friendly • Defined (primarily) in RFC1034 and 1035 *if implemented properly
  • 8. com net au info biz com net org org Other ccTLDs id internal prosrs google yahoo theage microsoft ausregistry “root” zone TLDs & ccTLDs 2lds 3lds 4lds
  • 9. com net au com net org id google yahoo microsoft C: Program Files Temp Windows System32 Fonts Cache Media dllcache spool drivers DNS vs File System
  • 10. com net au com net org id google yahoo microsoft C: Program Files Temp Windows System32 Fonts Cache Media dllcache spool drivers Naming a Domain Naming a Directory yahoo.com.au. C:windowssystem32d rivers Start Here Start Here A “.” is used as separator A “” is used as separator
  • 11. com net au info biz com net org org Other ccTLDs id internal prosrs google yahoo theage microsoft ausregistry “root” zone TLDs & ccTLDs 2lds 3lds 4lds “zone cuts” or delegation points
  • 12. What is a domain? • A domain is a sub tree of a larger tree identified by a domain name • Contains resource records and sub-domains • Some resource records point to authoritative server for sub-domains / zones • eg. the root contains pointers to .au • google.com.au is a domain
  • 13. com net au info biz com net org org Other ccTLDs id internal prosrs google yahoo theage microsoft ausregistry The ausregistry.com.au sub-domain of com.au Domain com.au
  • 14. What is a resource record? • A domain contains resource records • Resource records are analogous to files • Classified into types • Some of the important types are SOA, NS, A, CNAME and MX • Normally defines in “zone files”
  • 15. The “A” Record • The “Address” record • One or more normally defines a host • Contains an IPv4 Address (the address computers use to uniquely identify each other on the internet) • Eg. The record: www A 203.18.56.31 In the ausregistry.com.au domain, defines the host uniquely identifiable as “www.ausregistry.com.au” to be reachable at the IPv4 Address 203.18.56.31
  • 16. The “CNAME” Record • A CNAME defines an alias • The alias will then be resolved, if another CNAME is encountered then the process continues until an A record is found • Eg. The record: search CNAME www.google.com. In the ausregistry.com.au domain, defines the name uniquely identifiable as “search.ausregistry.com.au” to be and alias to “www.google.com”
  • 17. The “MX” Record • An MX record defines the mail servers for a particular domain • Mail eXchange records hold the name of hosts, and their priorities, able to deliver mail for the domain. • Eg. The record: ausregistry.com.au MX 10 mail In the ausregistry.com.au domain, defines the host mail to be the priority 10 mail server for the “ausregistry.com.au” domain
  • 18. The “NS” Record • An NS record defines the authoritative Name servers for the domain. • The “Name Server” records also define the name servers of children domains • Eg. The record: internal NS ns1.hosting.com.au. In the ausregistry.com.au domain, defines the host “ns1.hosting.com.au” to be a name sever for the “internal.ausregistry.com.au” sub-domain
  • 19. What is a Delegation? • Delegation refers to the act of putting NS records in a domain name “delegating” control of a sub- domain to another entity • This entity then has the ability to control the resource records in this sub-domain and delegate further children domains to other entities. • Eg. IANA delegating control of a country code domain to the country.
  • 20. What is a zone? • Its records are held in a database (“zonefile”) and served from an authoritative name server • Zone refers to all the resource records in a domain but not its sub domains, the com.au zone contains delegations records for ausregistry.com.au, but not the resource records for ausregistry.com.au, however all of these records are part of the com.au domain
  • 21. What is a Name Sever? Server responsible for answering DNS queries • Exists at all levels of hierarchy • Authoritative name servers hold part of the DNS database • One name server can serve more then one zone • Many name servers “should” serve the same zone • Some name servers are authoritative for certain zones
  • 22. Iterative vs Recursive Name Servers • Serve two very different functions • Shouldn’t mix the two • Generally the DNS your computer points to is recursive • Zones are hosted in iterative name servers • Iterative servers can only answer information they know or have cached • Recursive know how to ask others for information
  • 23. Some Important Terminology • TLD, ccTLD, 2ld, 3ld … • resolver, name server, iterative, recursive • delegation, authoritative, domain, sub-domain • zone, zone cut, zonefile • start of authority (SOA), TTL, negative TTL, expiry, serial number • primary, secondary
  • 24. Who runs what? • ICANN/IANA have been granted the power by the US department of commerce to run the root zone. • Root ‘zone’ is split into all the ISO ccTLD and some other TLD’s eg. .com, .net, .info • Domain name Registries are appointed to operate the “major” zones. • Each country elects a delegate whom controls their ccTLD eg in Australia the delegate is auDA. • Modify TLD and ccTLD resource records on behalf of registrants through a system of registrars eg. MelbourneIT.
  • 25. So what does all this mean to you? • Domain names make large networks such as the internet human friendly • IPv4 address difficult to remember and offer no hint as to whom they belong to. • Problem gets worse when you consider IPv6 • Allow intelligent systems (eg Mail (SMTP)) to preform tasks automatically
  • 26. Accessing a web page • You type http://www.google.com into your web browser and hit enter. • What happens now?
  • 27. Step 1: Your PC sends a resolution request to its configured DNS Server, typically at your ISP. Your PC ISP “Recursive” DNS server Tell me the Address of “www.google.com”
  • 28. ISP “Recursive” DNS server Root Servers Step 2: Your ISPs recursive name server starts by asking one of the root servers predefined in its “hints” file. Tell me the Address of “www.google.com” I don’t know the address but I know who’s authoritative for the ”com” domain ask them
  • 29. ISP “Recursive” DNS server “com” DNS servers Step 3: Your ISPs recursive name server then asks one of the “com” name servers as directed. Tell me the Address of “www.google.com” I don’t know the address but I know who’s authoritative for the ”google.com” domain ask them
  • 30. ISP “Recursive” DNS server google.com DNS server Step 4: Your ISPs recursive name server then asks one of the “google.com” name servers as directed. Tell me the Address of “www.google.com” The Address of www.google.com is 216.239.53.99
  • 31. Step 5: ISP DNS server then send the answer back to your PC. The DNS server will “remember” the answer for a period of time. Your PC ISP “Recursive” DNS server The Address of www.google.com is 216.239.53.99
  • 32. Step 6: Your PC can then make the actual HTTP request to the web server. Your PC www.google.com web server Here it is! Send me the www.google.com.au web page
  • 33. Summary ISP “Recursive” DNS server “com” DNS servers “root” DNS servers google.com DNS server 3 2 4 Your PC 5 1 google.com.au Web Server WEB (HTTP) Request DNS requests 6 The actual web request DNS
  • 34. Sending an Email • DNS is not just used in HTTP protocol (web pages) • DNS is involved in almost every protocol in use on the internet • Next example is how DNS facilitates the transfer of electronic mail.
  • 35. Step 1: Your PC sends the e-mail to its configured outbound mail server. A DNS request similar to the previous example is required to find the address of the mail server. Your PC Outbound Mail (SMTP) Server Please send this message to “someone@example.com”
  • 36. Outbound Mail server DNS servers Step 2: Your mail server follows the same intensive process to find the authoritative servers for “example.com”. Tell me the name servers for “example.com” Here are the name servers for “example.com”
  • 37. Outbound Mail Server example.com DNS server Step 3: Ask the “example.com” name server for the list of “Mail eXchangers (MX) for that domain. Tell me the MX’s for “example.com” The MXs are mx10.example.com and mx20.backmail.com
  • 38. Outbound Mail Server example.com Mail server Step 4: Select a Mail server and deliver the mail. Here is some mail for the “example.com” domain Mail accepted for delivery
  • 39. Summary • DNS is integral part in most protocols used on the internet • Makes the internet human friendly for us all • Is the world largest distributed database system • Fits the international model perfectly • In simple terms is a mapping between names and IP addresses