The Domain Name System

Similar documents
The Domain Name System

Networking Applications

DNS. David Malone. 19th October 2004

The Domain Name System

History of DNS. RFC Sourcebook:

DNS and BIND Rock Eagle Computing Conference October 27, 2000 CL 10/25/00

Testing IPv6 address records in the DNS root

Lecture 4: Basic Internet Operations

CSE 265: System & Network Administration

HOSTS.txt contains all the hosts information Maintained by SRI s Network Information Center

CompSci 356: Computer Network Architectures. Lecture 20: Domain Name System (DNS) and Content distribution networks Chapter 9.3.1

K-Root Nameserver Operations

IPv6 Support in the DNS. Athanassios Liakopoulos 6DEPLOY IPv6 Training, Skopje, June 2011

K-Root Name Server Operations

Preparation Test AAAA and EDNS0 support Share Your Results Results Reported Testing Period

Root DNS Anycast in South Asia

ECE 650 Systems Programming & Engineering. Spring 2018

The net and it s Ecosystem

DOMAIN NAME SYSTEM (DNS) BEYAZIT BESTAMİ YÜKSEL

Advanced Networking. Domain Name System

Advanced Networking. Domain Name System. Purpose of DNS servers. Purpose of DNS servers. Purpose of DNS servers

SOFTWARE ARCHITECTURE 9. NAME RESOLUTION.

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames

Domain Name Service. in-addr sfu

f.root-servers.net ISOC cctld Workshop Nairobi, Kenya, 2005

Protocol Classification

04 Identifiers. UUID URI Format Characteristics. Coulouris, Ch 9 rfc3986 Ahmed, 2005 Subharthi, 2009

Peer-to-Peer Networks and the DNS

Internet Engineering Task Force (IETF) Request for Comments: 7706 Category: Informational ISSN: November 2015

Domain Name System.

DNS. DNS is an example of a large scale client-server application.

CS615 - Aspects of System Administration

04 Identifiers UUID. Coulouris, Ch 9 URI. rfc3986 Format. Ahmed, 2005 Characteristics. Subharthi, 2009

Electrical Engineering Department EE 400, Experiment # 4 IP Addressing and Subnetting

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M.

Welcome! Acknowledgements. Introduction to DNS. cctld DNS Workshop October 2004, Bangkok, Thailand

CS615 - Aspects of System Administration

ROOT SERVERS MANAGEMENT AND SECURITY

A DNS Tutorial

DNS/DNSSEC Workshop. In Collaboration with APNIC and HKIRC Hong Kong. Champika Wijayatunga Regional Security Engagement Manager Asia Pacific

Domain Name System (DNS) DNS Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale. The old solution: HOSTS.

APNIC elearning: DNS Concepts

Domain Name System (DNS) Session 2: Resolver Operation and debugging. Joe Abley AfNOG Workshop, AIS 2017, Nairobi

IP ADDRESSES, NAMING, AND DNS

DNS and HTTP. A High-Level Overview of how the Internet works

INSTITUT NATIONAL DES TELECOMMUNICATIONS. MSc Computer and Communication Networks MSc Information Technology Final Examination

Network Security Part 3 Domain Name System

S Computer Networks - Spring What and why? Structure of DNS Management of Domain Names Name Service in Practice

DNS Basics BUPT/QMUL

page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, October 2016

DNS Fundamentals. Steve Conte ICANN60 October 2017

Goal of this session

Development of the Domain Name System

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6

DNS Session 2: DNS cache operation and DNS debugging. Joe Abley AfNOG 2006 workshop

CSE 127 Computer Security

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration. Chapter 5 Introduction to DNS in Windows Server 2008

Client Server Concepts, DNS, DHCP

DNS. A Massively Distributed Database. Justin Scott December 12, 2018

System Up and Running. We are now going to shut down the system. Load Average: How Busy the System Is. System Halt (1)

Domain Name System (DNS) Session-1: Fundamentals. Joe Abley AfNOG Workshop, AIS 2017, Nairobi

DNS. dr. C. P. J. Koymans. September 16, Informatics Institute University of Amsterdam. dr. C. P. J. Koymans (UvA) DNS September 16, / 46

CSE561 Naming and DNS. David Wetherall

Domain Name System (DNS)

DNS / DNSSEC Workshop. bdnog November 2017, Dhaka, Bangladesh

Information Network I: The Application Layer. Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique

Linux Network Administration

Domain Name System (DNS) Session-1: Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale

DOWNLOAD PDF RESOLVING HIGH-LEVEL MACHINE NAMES

DNS. Introduction To. everything you never wanted to know about IP directory services

DNS Session 2: DNS cache operation and DNS debugging. How caching NS works (1) What if the answer is not in the cache? How caching NS works (2)

Security Impact of DNS Delegation Structure and Configuration Problems

Lecture 7: Application Layer Domain Name System

In This Issue. From The Editor

Domain Name System (DNS)

Application Layer Protocols

DNS Session 1: Fundamentals. Based on Brian Candler's materials ISOC CCTLD workshop

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses

DNSSECbis Lookaside Validation. Peter Losher Internet Systems Consortium (November 2006)

DNS and SMTP. James Walden CIT 485: Advanced Cybersecurity. James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31

Computer Networks. Domain Name System. Jianping Pan Spring /25/17 CSC361 1


IP Addresses. An IPv4 address looks like this

Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5 License. Page 2. Page 3.

CSC 574 Computer and Network Security. DNS Security

Outline Applications. Central Server Hierarchical Peer-to-peer. 31-Jan-02 Ubiquitous Computing 1

An Approach for Determining the Health of the DNS

0 0& Basic Background. Now let s get into how things really work!

Based on Brian Candler's materials ISOC CCTLD workshop

Services: DNS domain name system

More on DNS and DNSSEC

DNS and CDNs : Fundamentals of Computer Networks Bill Nace

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa

CSc 450/550 Computer Networks Domain Name System

Interested in learning more? Global Information Assurance Certification Paper. Copyright SANS Institute Author Retains Full Rights

DNS. Karst Koymans & Niels Sijm. Tuesday, September 7, Informatics Institute University of Amsterdam

IPV6 ON THE INTERNET

Computer Center, CS, NCTU. Outline. Installation Basic Configuration

The Application Layer: Sockets, DNS

Transcription:

The Domain Name System

History of DNS Before DNS ARPAnet HOSTS.txt contains all the hosts information Maintained by SRI s Network Information Center In SRI-NIC host Problems: Not scalable! Traffic and Load Name Collision Consistency Domain Name System Administration decentralization 1984 Paul Mockapetris (University of Southern California) RFC 882, 883 1034, 1035 1034: Concepts 1035: Implementation and Specification 2 RFC Sourcebook: http://www.networksorcery.com/enp/default0304.htm

DNS Introduction DNS Specification Make domain name system as Tree architecture Each subtree domain Domain can be divided in to subdomain Distributed database Each site maintains segment of DB Each site open self information via network Client-Server architecture Name servers provide information (Name Server) Clients make queries to server (Resolver) 3

DNS Introduction Domain and Subdomain DNS Namespace A tree of domains Domain and subdomain Each domain has a domain name to identify its position in database EX: nctu.edu.tw EX: cs.nctu.edu.tw domain subdomain 4

The DNS Namespace (1) A inverted tree (Rooted tree) Root with label. Domain level Top-level or First level Child of the root Second-level Child of a First-level domain Domain name limitation 63-characters in each component and Up to 255-characters in a complete name 5

The DNS Namespace (2) gtlds generic Top-Level Domains, including: com: commercial organization, such as ibm.com edu: educational organization, such as purdue.edu gov: government organization, such as nasa.gov mil: military organization, such as navy.mil net: network infrastructure providing organization, such as hinet.net org: noncommercial organization, such as x11.org int: International organization, such as nato.int ICANN Internet Corporation for Assigned Names and Numbers http://www.icann.org/ 6

The DNS Namespace (3) New gtlds launched in year 2000: aero: for air-transport industry biz: for business coop: for cooperatives info: for all uses museum: for museum name: for individuals pro: for professionals 7

The DNS Namespace (4) Other than US, cctld country code TLD (ISO 3166) Taiwan tw Japan jp Follow or not follow US-like scheme US-like scheme example edu.tw, com.tw, gov.tw Other scheme co.jp, ac.jp 8

DNS Namespace (5) 9

How DNS Works DNS Delegation Administration delegation Each domain can delegate responsibility to subdomain 10

How DNS Works DNS query process Recursive query process Ex: query lair.cs.colorado.edu vangogh.cs.berkeley.edu, name server ns.cs.colorado.edu has no cache data 11

DNS Delegation Administrated Zone Zone Autonomously administered piece of namespace Once the subdomain becomes a zone, it is independent to it s parent Even parent contains NS s A record 12

DNS Delegation Administrated Zone Zone Autonomously administered piece of namespace Two kinds of zone files Forward Zone files Hostname-to-Address mapping Ex: bsd1 IN A 140.113.235.131 Reverse Zone files Address-to-Hostname mapping Ex: 131.235.113.140 IN PTR bsd1.cs.nctu.edu.tw. Forward zone is necessary 13

The Name Server Taxonomy (1) Categories of name servers Based on a name server s source of data Authoritative: official representative of a zone Master: get zone data from disk Slave: copy zone data from master Nonauthoritative: answer a query from cache caching: cashes data from previous queries Based on the type of data saved Stub: a slave that copy only name server data (no host data) Based on the type of answers handed out Recursive: do query for you until it return an answer or error Nonrecursive: refer you to the authoritative server Based on the query path Forwarder: performs queries on behalf of many clients with large cache 14

The Name Server Taxonomy (2) Nonrecursive referral Hierarchical and longest known domain referral with cache data of other zone s name servers addresses Ex: Query lair.cs.colorado.edu from a nonrecursive server Whether cache has Name servers of cs.colorado.edu, colorado.edu, edu, root The resolver libraries do not understand referrals mostly. They expect the local name server to be recursive 15

The Name Server Taxonomy (3) Caching Positive cache Negative cache No host or domain matches the name queried The type of data requested does not exist for this host The server to ask is not responding The server is unreachable of network problem Negative cache 60% DNS queries are failed To reduce the load of root servers, the authoritative negative answers must be cached 16

The Name Server Taxonomy (4) Caching and forwarder DNS server 17

The Name Server Taxonomy (5) How to arrange your DNS servers? Ex: 18

19 The Name Server Taxonomy (6) Root name servers List in named.root file of BIND. 3600000 IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4. 3600000 NS B.ROOT-SERVERS.NET. B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201. 3600000 NS C.ROOT-SERVERS.NET. C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12. 3600000 NS D.ROOT-SERVERS.NET. D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90. 3600000 NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10. 3600000 NS F.ROOT-SERVERS.NET. F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241. 3600000 NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4. 3600000 NS H.ROOT-SERVERS.NET. H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53. 3600000 NS I.ROOT-SERVERS.NET. I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17. 3600000 NS J.ROOT-SERVERS.NET. J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30. 3600000 NS K.ROOT-SERVERS.NET. K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129. 3600000 NS L.ROOT-SERVERS.NET. L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12. 3600000 NS M.ROOT-SERVERS.NET. M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33

DNS Client /etc/resolv.conf nameserver, domain, search /etc/hosts 20