Domain Name Service
Hostnames
- IP Addresses are great for computers
- IP addresses are tough for humans to remember.
- IP addresses are impossible to guess.
DNS History
- Advanced Research Projects Agency Network (ARPANET) utilized a central file HOSTS.TXT
Contains names to addresses mapping
Maintained by SRI’s NIC (Stanford-Research-Institute:
Network-Information-Center)
- Administrators email changes to NIC
NIC updates HOSTS.TXT periodically
- Administrators FTP (download) HOSTS.TXT
DNS History
- As the system grew, HOSTS.TXT had problems with
Scalability (traffic and load)
Name collisions
Consistency
- n 1984, Paul Mockapetris released the first version (RFCs 882 and 883, superseded by 1034 and 1035 …)
- RFC: Request for Comments
- RFC 882 - Domain names: Concepts and facilities
The “Domain Name System”
- A service that maps between hostnames and IP addresses
- The mechanism by which Internet software translates names to addresses and vice versa
- Mechanism to store and retrieve information in a global data store
- A hierarchical distributed caching database with delegated authority.
- DNS is one of the core Internet Protocols required for operation of the Internet
- Routing and DNS are the most important infrastructure protocols as without them nothing else will work
- Uses port 53
- A globally distributed, scalable, reliable database
- Comprised of three components
DNS as a Database
- Keys to the database are “domain names”
- Over 200,000,000 domain names stored
- Each domain name contains one or more attributes
- Each attribute individually retrievable
Global Distribution
- Data is maintained locally, but retrievable globally
- DNS lookups can be performed by any device
- Remote DNS data is locally cachable to improve performance
Loose Coherency
- Each version of a subset of the database (a zone) has a serial number
- Changes to the master copy of the database are propagated to replicas according to timing set by the zone administrator
- Cached data expires according to timeout set by zone administrator
Scalability
- No limit to the size of the database
- No limit to the number of queries
- Queries distributed among masters, slaves, and caches
Reliability
- Data is replicated
- Clients can query
- Clients will typically query local caches
- DNS protocols can use either UDP or TCP
Dynamicity
- Database can be updated dynamically
- Modification of the master database triggers replication
DNS Components
- The name space
- The servers
- The resolvers
By : mogtaba altyib
Modification by : Mohammed Bakry PhD
ليست هناك تعليقات:
إرسال تعليق