SlideShare uma empresa Scribd logo
1 de 20
Domain Name System (DNS) Berkley Internet Name Domain (BIND)
A Default Google India Search Page With Its IP Address On The Bottom IP Address
Internet Protocol Address An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. OR In other words we can say that it is a number by which a device is referred in a network. IP address is always characterized by its class. It has following classes. Class  Range of first octet Network ID format Host ID format No.of networks No. of addr./network A         0 – 127                     a	                      b.c.d                  128                     16777216 B         128 – 191                 a.bc.d                     16384                       65536 C         192 – 223                 a.b.c                   d                        2097152                      256 Example of certain class type IP’s. Class	 A 		10.0.0.1/255.0.0.0 Class	 B		172.24.0.1/255.255.0.0 Class 	 C		192.168.0.1/255.255.255.0
Server In computing, the term server is used to refer to one of the following: a computer program running to serve the needs or requests of other programs (referred to in this context as "clients") which may or may not be running on the same computer. a physical computer dedicated to running one or more such services, to serve the needs of programs running on other computers on the same network. a software/hardware system (i.e. a software service running on a dedicated computer) such as a database server, file server, mail server, or print server. Domain Name System (DNS) The DNS is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most importantly, it translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide. An often-used analogy to explain the Domain Name System is that it serves as the phone book for the Internet by translating human-friendly computer hostnames into IP addresses. For example, the domain name www.example.com translates to the addresses 192.0.32.10 (IPv4) and 2620:0:2d0:200::10 (IPv6).
History The practice of using a name as a simpler, more memorable abstraction of a host's numerical address on a network dates back to the ARPANET era. Before the DNS was invented in 1983, each computer on the network retrieved a file called HOSTS.TXT from a computer at SRI (now SRI International). The HOSTS.TXT file mapped names to numerical addresses. At the request of Jon Postel, Paul Mockapetrisinvented the Domain Name System in 1983 and wrote the first implementation. The original specifications were published by the Internet Engineering Task Force which were superseded in November 1987. In 1984, four Berkeley students—Douglas Terry, Mark Painter, David Riggle, and Songnian Zhou—wrote the first Unix implementation, called The Berkeley Internet Name Domain (BIND) Server. In 1985, Kevin Dunlap of DEC significantly re-wrote the DNS implementation. Mike Karels, Phil Almquist, and Paul Vixie have maintained BIND since then. BIND was ported to the Windows NT platform in the early 1990s.
Overview The Internet maintains two principal namespaces, the domain name hierarchy and the Internet Protocol (IP) address spaces. The Domain Name System maintains the domain name hierarchy and provides translation services between it and the address spaces. Internet name servers and a communication protocol implement the Domain Name System. A DNS name server is a server that stores the DNS records for a domain name, such as address (A) records, name server (NS) records, and mail exchanger (MX) records; a DNS name server responds with answers to queries against its database. Domain Name Space DNS is the name service provided by the server for TCP/IP networks. DNS is broken up into domains, a logical organization of computers that exist in a larger network. The domains exist at different levels and connect in a hierarchy that resembles the root structure of a tree. Each domain extends from the node above it, beginning at the top with the root-level domain. Under the root-level domain are the top-level domains, under those are the second-level domains, and on down into sub domains. DNS namespace identifies the structure of the domains that combine to form a complete domain name.  For example, in the domain name sub.secondary.com, "com" is the top-level domain, "secondary" identifies the secondary domain name, and "sub" identifies a subdomain within the larger network. This entire DNS domain structure is called the DNS namespace.
Domain Name Syntax A domain name consists of one or more parts, technically called labels, that are conventionally concatenated, and delimited by dots, such as example.com. ,[object Object]
The hierarchy of domains descends from right to left; each label to the left specifies a subdivision, or sub domain of the domain to the right. For example: the label example specifies a sub domain of the com domain, and www is a sub domain of example.com. This tree of subdivisions may have up to 127 levels.
Each label may contain up to 63 characters. The full domain name may not exceed a total length of 253 characters in its external dotted-label specification. In the internal binary representation of the DNS the maximum length requires 255 octets of storage. In practice, some domain registries may have shorter limits.
DNS names may technically consist of any character representable in an octet. However, the allowed formulation of domain names in the DNS root zone, and most other sub domains, uses a preferred format and character set. The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen. This rule is known as the LDH rule (letters, digits, hyphen). Domain names are interpreted in case-independent manner. Labels may not start or end with a hyphen.,[object Object]
Name Server The Domain Name System is maintained by a distributed database system, which uses the client-server model. The nodes of this database are the name servers. Each domain has at least one authoritative DNS server that publishes information about that domain and the name servers of any domains subordinate to it. The top of the hierarchy is served by the root nameservers, the servers to query when looking up (resolving) a TLD. Authoritative name server An authoritative name server is a name server that gives answers that have been configured by an original source, for example, the domain administrator or by dynamic DNS methods, in contrast to answers that were obtained via a regular DNS query to another name server. An authoritative-only name server only returns answers to queries about domain names that have been specifically configured by the administrator. An authoritative name server can either be a master server or a slave server. A master server is a server that stores the original (master) copies of all zone records. A slave server uses an automatic updating mechanism of the DNS protocol in communication with its master to maintain an identical copy of the master records. Every DNS zone must be assigned a set of authoritative name servers that are installed in NS records in the parent zone.
When domain names are registered with a domain name registrar their installation at the domain registry of a top level domain requires the assignment of a primary name server and at least one secondary name server. The requirement of multiple name servers aims to make the domain still functional even if one name server becomes inaccessible or inoperable. The designation of a primary name server is solely determined by the priority given to the domain name registrar. For this purpose generally only the fully qualified domain name of the name server is required, unless the servers are contained in the registered domain, in which case the corresponding IP address is needed as well. Primary name servers are often master name servers, while secondary name server may be implemented as slave servers. An authoritative server indicates its status of supplying definitive answers, deemed authoritative, by setting a software flag (a protocol structure bit), called the Authoritative Answer (AA) bit in its responses. This flag is usually reproduced prominently in the output of DNS administration query tools (such as dig) to indicate that the responding name server is an authority for the domain name in question.
DNS Resolvers The client-side of the DNS is called a DNS resolver. It is responsible for initiating and sequencing the queries that ultimately lead to a full resolution (translation) of the resource sought, e.g., translation of a domain name into an IP address. A DNS query may be either a non-recursive query or a recursive query: A non-recursive query is one in which the DNS server provides a record for a domain for which it is authoritative itself, or it provides a partial result without querying other servers. A recursive query is one for which the DNS server will fully answer the query (or give an error) by querying other name servers as needed. DNS servers are not required to support recursive queries. The resolver, or another DNS server acting recursively on behalf of the resolver, negotiates use of recursive service using bits in the query headers. Resolving usually entails iterating through several name servers to find the needed information. However, some resolvers function more simply by communicating only with a single name server. These simple resolvers (called "stub resolvers") rely on a recursive name server to perform the work of finding information for them.
Basic entry of a DNS Server via DHCP (Dynamic Host Control Protocol) or Manual on DNS Resolver.
Berkley Internet Name Domain (BIND) BIND is the most widely used DNS software on the Internet. On Unix-like operating systems it is the de facto standard. Originally written by four graduate students at the Computer Systems Research Group at the University of California, Berkeley (UCB), the name originates as an acronym from Berkeley Internet Name Domain, reflecting the application's use within UCB. BIND was first released with Berkeley Software Distribution 4.3BSD, and as such, it is a free and open source software. Paul Vixie started maintaining it in 1988 while working for Digital Equipment Corporation. As of 2010, the Internet Systems Consortium maintains BIND.
Sample DNS Master Named Configuration File Caching Server
Explanation DNS Master Named Configuration File aclor access control list specifies the name for the network 192.168.0.0/24 Listen on port  specifies the system that it should listen on port number 53 of the I.P loopback and 192.168.0.100 Quercy source the query should be given to port 53 Directory gives the location of file inside the chrootenviroment Dump-file keeps the cache of hitted I.P and host or domain names Static file contains the statistics of the hits MemStatskeeps the stats of memory given to bind  Zone specified the rule for the domain name like which file contains the information for the I.P to name and name to I.P resolution factors as well as which zone contains which domain’s information Type specifies which type of server is it master or slave File gives the location of the files which contains name to I.P and I.P to name resolution factor.
Sample Host Name To I.P Conversion File SOA Start Of Authority                                                    TTL Time To Live 42 Increased While Adding A New Entry And Replicating With Slave Server NSName Server                                                                A Address Record Refresh is the number of seconds between update requests from slave servers.  Retry number of seconds the slave will wait before retrying the last attempt has failed Expire is the number of seconds a slave will wait before considering the data stale if it cannot reach the primary name server.  Minimum  used to determine the minimum TTL, this is used for negative caching. This is the default TTL if the domain does not specify a TTL.
Sample I.P To Host Coversion File SOA Start Of Authority                                                    TTL Time To Live 42 Increased While Adding A New Entry And Replicating With Slave Server NSName Server                                                                A Address Record Refresh is the number of seconds between update requests from slave servers.  Retry number of seconds the slave will wait before retrying the last attempt has failed Expire is the number of seconds a slave will wait before considering the data stale if it cannot reach the primary name server.  Minimum  used to determine the minimum TTL, this is used for negative caching. This is the default TTL if the domain does not specify a TTL.
Sample DNS Slave Named Configuration File

Mais conteúdo relacionado

Mais procurados (20)

Domain name server
Domain name serverDomain name server
Domain name server
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
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)
 
Dns 2
Dns 2Dns 2
Dns 2
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Linux and DNS Server
Linux and DNS ServerLinux and DNS Server
Linux and DNS Server
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
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
 
Dns server
Dns serverDns server
Dns server
 
Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.
 
Dns ppt
Dns pptDns ppt
Dns ppt
 

Destaque

E Mail Ppt
E Mail PptE Mail Ppt
E Mail Pptkevpatel
 
Email ppt
Email pptEmail ppt
Email pptmelgade
 
Ambient back scatter
Ambient back scatterAmbient back scatter
Ambient back scatterChe Tna
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentationAnchit Dhingra
 
Email Ppt
Email PptEmail Ppt
Email PptDyern
 
Email - Electronic Mail
Email - Electronic MailEmail - Electronic Mail
Email - Electronic MailPeter R. Egli
 
BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS Kak Yong
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer networkAshita Agrawal
 

Destaque (12)

E Mail Basic
E Mail BasicE Mail Basic
E Mail Basic
 
How email works
How email worksHow email works
How email works
 
Email
EmailEmail
Email
 
E Mail Ppt
E Mail PptE Mail Ppt
E Mail Ppt
 
Email ppt
Email pptEmail ppt
Email ppt
 
Ambient back scatter
Ambient back scatterAmbient back scatter
Ambient back scatter
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Email Ppt
Email PptEmail Ppt
Email Ppt
 
Email - Electronic Mail
Email - Electronic MailEmail - Electronic Mail
Email - Electronic Mail
 
Computer network ppt
Computer network pptComputer network ppt
Computer network ppt
 
BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
 

Semelhante a Domain Name System DNS (20)

Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
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
 
Domainnamesystem
DomainnamesystemDomainnamesystem
Domainnamesystem
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
D.N.S
D.N.SD.N.S
D.N.S
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
What is dns
What is dnsWhat is dns
What is dns
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns
DnsDns
Dns
 
Dns
DnsDns
Dns
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
Computer Networks - DNS
Computer Networks - DNSComputer Networks - DNS
Computer Networks - DNS
 
telnet ftp email
telnet ftp emailtelnet ftp email
telnet ftp email
 
Internet dns introduction
Internet dns introductionInternet dns introduction
Internet dns introduction
 

Último

Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 

Último (20)

Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 

Domain Name System DNS

  • 1. Domain Name System (DNS) Berkley Internet Name Domain (BIND)
  • 2. A Default Google India Search Page With Its IP Address On The Bottom IP Address
  • 3. Internet Protocol Address An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. OR In other words we can say that it is a number by which a device is referred in a network. IP address is always characterized by its class. It has following classes. Class Range of first octet Network ID format Host ID format No.of networks No. of addr./network A 0 – 127 a b.c.d 128 16777216 B 128 – 191 a.bc.d 16384 65536 C 192 – 223 a.b.c d 2097152 256 Example of certain class type IP’s. Class A 10.0.0.1/255.0.0.0 Class B 172.24.0.1/255.255.0.0 Class C 192.168.0.1/255.255.255.0
  • 4. Server In computing, the term server is used to refer to one of the following: a computer program running to serve the needs or requests of other programs (referred to in this context as "clients") which may or may not be running on the same computer. a physical computer dedicated to running one or more such services, to serve the needs of programs running on other computers on the same network. a software/hardware system (i.e. a software service running on a dedicated computer) such as a database server, file server, mail server, or print server. Domain Name System (DNS) The DNS is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most importantly, it translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide. An often-used analogy to explain the Domain Name System is that it serves as the phone book for the Internet by translating human-friendly computer hostnames into IP addresses. For example, the domain name www.example.com translates to the addresses 192.0.32.10 (IPv4) and 2620:0:2d0:200::10 (IPv6).
  • 5. History The practice of using a name as a simpler, more memorable abstraction of a host's numerical address on a network dates back to the ARPANET era. Before the DNS was invented in 1983, each computer on the network retrieved a file called HOSTS.TXT from a computer at SRI (now SRI International). The HOSTS.TXT file mapped names to numerical addresses. At the request of Jon Postel, Paul Mockapetrisinvented the Domain Name System in 1983 and wrote the first implementation. The original specifications were published by the Internet Engineering Task Force which were superseded in November 1987. In 1984, four Berkeley students—Douglas Terry, Mark Painter, David Riggle, and Songnian Zhou—wrote the first Unix implementation, called The Berkeley Internet Name Domain (BIND) Server. In 1985, Kevin Dunlap of DEC significantly re-wrote the DNS implementation. Mike Karels, Phil Almquist, and Paul Vixie have maintained BIND since then. BIND was ported to the Windows NT platform in the early 1990s.
  • 6. Overview The Internet maintains two principal namespaces, the domain name hierarchy and the Internet Protocol (IP) address spaces. The Domain Name System maintains the domain name hierarchy and provides translation services between it and the address spaces. Internet name servers and a communication protocol implement the Domain Name System. A DNS name server is a server that stores the DNS records for a domain name, such as address (A) records, name server (NS) records, and mail exchanger (MX) records; a DNS name server responds with answers to queries against its database. Domain Name Space DNS is the name service provided by the server for TCP/IP networks. DNS is broken up into domains, a logical organization of computers that exist in a larger network. The domains exist at different levels and connect in a hierarchy that resembles the root structure of a tree. Each domain extends from the node above it, beginning at the top with the root-level domain. Under the root-level domain are the top-level domains, under those are the second-level domains, and on down into sub domains. DNS namespace identifies the structure of the domains that combine to form a complete domain name. For example, in the domain name sub.secondary.com, "com" is the top-level domain, "secondary" identifies the secondary domain name, and "sub" identifies a subdomain within the larger network. This entire DNS domain structure is called the DNS namespace.
  • 7.
  • 8. The hierarchy of domains descends from right to left; each label to the left specifies a subdivision, or sub domain of the domain to the right. For example: the label example specifies a sub domain of the com domain, and www is a sub domain of example.com. This tree of subdivisions may have up to 127 levels.
  • 9. Each label may contain up to 63 characters. The full domain name may not exceed a total length of 253 characters in its external dotted-label specification. In the internal binary representation of the DNS the maximum length requires 255 octets of storage. In practice, some domain registries may have shorter limits.
  • 10.
  • 11. Name Server The Domain Name System is maintained by a distributed database system, which uses the client-server model. The nodes of this database are the name servers. Each domain has at least one authoritative DNS server that publishes information about that domain and the name servers of any domains subordinate to it. The top of the hierarchy is served by the root nameservers, the servers to query when looking up (resolving) a TLD. Authoritative name server An authoritative name server is a name server that gives answers that have been configured by an original source, for example, the domain administrator or by dynamic DNS methods, in contrast to answers that were obtained via a regular DNS query to another name server. An authoritative-only name server only returns answers to queries about domain names that have been specifically configured by the administrator. An authoritative name server can either be a master server or a slave server. A master server is a server that stores the original (master) copies of all zone records. A slave server uses an automatic updating mechanism of the DNS protocol in communication with its master to maintain an identical copy of the master records. Every DNS zone must be assigned a set of authoritative name servers that are installed in NS records in the parent zone.
  • 12. When domain names are registered with a domain name registrar their installation at the domain registry of a top level domain requires the assignment of a primary name server and at least one secondary name server. The requirement of multiple name servers aims to make the domain still functional even if one name server becomes inaccessible or inoperable. The designation of a primary name server is solely determined by the priority given to the domain name registrar. For this purpose generally only the fully qualified domain name of the name server is required, unless the servers are contained in the registered domain, in which case the corresponding IP address is needed as well. Primary name servers are often master name servers, while secondary name server may be implemented as slave servers. An authoritative server indicates its status of supplying definitive answers, deemed authoritative, by setting a software flag (a protocol structure bit), called the Authoritative Answer (AA) bit in its responses. This flag is usually reproduced prominently in the output of DNS administration query tools (such as dig) to indicate that the responding name server is an authority for the domain name in question.
  • 13. DNS Resolvers The client-side of the DNS is called a DNS resolver. It is responsible for initiating and sequencing the queries that ultimately lead to a full resolution (translation) of the resource sought, e.g., translation of a domain name into an IP address. A DNS query may be either a non-recursive query or a recursive query: A non-recursive query is one in which the DNS server provides a record for a domain for which it is authoritative itself, or it provides a partial result without querying other servers. A recursive query is one for which the DNS server will fully answer the query (or give an error) by querying other name servers as needed. DNS servers are not required to support recursive queries. The resolver, or another DNS server acting recursively on behalf of the resolver, negotiates use of recursive service using bits in the query headers. Resolving usually entails iterating through several name servers to find the needed information. However, some resolvers function more simply by communicating only with a single name server. These simple resolvers (called "stub resolvers") rely on a recursive name server to perform the work of finding information for them.
  • 14. Basic entry of a DNS Server via DHCP (Dynamic Host Control Protocol) or Manual on DNS Resolver.
  • 15. Berkley Internet Name Domain (BIND) BIND is the most widely used DNS software on the Internet. On Unix-like operating systems it is the de facto standard. Originally written by four graduate students at the Computer Systems Research Group at the University of California, Berkeley (UCB), the name originates as an acronym from Berkeley Internet Name Domain, reflecting the application's use within UCB. BIND was first released with Berkeley Software Distribution 4.3BSD, and as such, it is a free and open source software. Paul Vixie started maintaining it in 1988 while working for Digital Equipment Corporation. As of 2010, the Internet Systems Consortium maintains BIND.
  • 16. Sample DNS Master Named Configuration File Caching Server
  • 17. Explanation DNS Master Named Configuration File aclor access control list specifies the name for the network 192.168.0.0/24 Listen on port specifies the system that it should listen on port number 53 of the I.P loopback and 192.168.0.100 Quercy source the query should be given to port 53 Directory gives the location of file inside the chrootenviroment Dump-file keeps the cache of hitted I.P and host or domain names Static file contains the statistics of the hits MemStatskeeps the stats of memory given to bind Zone specified the rule for the domain name like which file contains the information for the I.P to name and name to I.P resolution factors as well as which zone contains which domain’s information Type specifies which type of server is it master or slave File gives the location of the files which contains name to I.P and I.P to name resolution factor.
  • 18. Sample Host Name To I.P Conversion File SOA Start Of Authority TTL Time To Live 42 Increased While Adding A New Entry And Replicating With Slave Server NSName Server A Address Record Refresh is the number of seconds between update requests from slave servers. Retry number of seconds the slave will wait before retrying the last attempt has failed Expire is the number of seconds a slave will wait before considering the data stale if it cannot reach the primary name server. Minimum used to determine the minimum TTL, this is used for negative caching. This is the default TTL if the domain does not specify a TTL.
  • 19. Sample I.P To Host Coversion File SOA Start Of Authority TTL Time To Live 42 Increased While Adding A New Entry And Replicating With Slave Server NSName Server A Address Record Refresh is the number of seconds between update requests from slave servers. Retry number of seconds the slave will wait before retrying the last attempt has failed Expire is the number of seconds a slave will wait before considering the data stale if it cannot reach the primary name server. Minimum used to determine the minimum TTL, this is used for negative caching. This is the default TTL if the domain does not specify a TTL.
  • 20. Sample DNS Slave Named Configuration File
  • 21. Explanation DNS Master Named Configuration File aclor access control list specifies the name for the network 192.168.0.0/24 Listen on port specifies the system that it should listen on port number 53 of the I.P loopback and 192.168.0.100 Quercy source the query should be given to port 53 Directory gives the location of file inside the chrootenviroment Dump-file keeps the cache of hitted I.P and host or domain names Static file contains the statistics of the hits MemStatskeeps the stats of memory given to bind Zone specified the rule for the domain name like which file contains the information for the I.P to name and name to I.P resolution factors as well as which zone contains which domain’s information Type specifies which type of server is it master or slave File gives the location of the files which contains name to I.P and I.P to name resolution factor. Masters gives the information of the master server’s I.P address
  • 22. External Links The Berkeley Internet Name Domain Server http://www.eecs.berkeley.edu/Pubs/TechRpts/1984/5957.html Domain Names - Concepts AND Facilities http://tools.ietf.org/html/rfc1034 Letting DNS Loose http://www.circleid.com/posts/letting_dns_loose/ 4. Domain Name System http://en.wikipedia.org/wiki/Domain_Name_System#DNS_resolvers 5. Ubuntu DNS BIND Configuration https://help.ubuntu.com/community/BIND9ServerHowto 6. Fedora Linux Operating System http://www.fedoraforum.org/