Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS.

Size: px
Start display at page:

Download "Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS."

Transcription

1 Table of Contents Specification and implementation DNS dr. C. P. J. Koymans Informatics Institute University of Amsterdam September 14, 2009 A short history of DNS Root servers Basic concepts Delegation Lookups DNS on the wire Limitations and extras DNS and BIND Short history of DNS (1) DNS (Domain Name System) concepts theory BIND (Berkeley Internet Name Domain) implementation Other implementations: djbdns (TinyDNS), PowerDNS, NSD,... practice December 1973 HOSTS.TXT (RFC 606) November 1983 DNS invented (RFC 882) October 1984 TLDs defined (RFC 920)

2 Short history of DNS (2) Short history of DNS (3) October 1984 gtlds established.arpa (temporary).gov,.edu,.com,.mil,.org January 1985 SRI runs DNS service.net (forgotten in RFC 920) July 1985 cctlds established.us (February 15, 1985).UK,.GB (July 24, 1985).AU (March 5, 1986).NL (April 25, 1986).JP (August 5, 1986) Short history of DNS (4) Short history of DNS (5) November 1987 DNS Specification STD 13, RFC 1034, RFC 1035 November 1988.INT domain established April 1993 InterNIC starts, operated by NSI (Network Solutions Inc.) June 1994 Commercial use becomes dominant September 1995 Charging for domain name registration starts

3 Short history of DNS (6) Short history of DNS (7) 1997 Start planning for competition On July 1, 1997, as part of the Administration s Framework for Global Electronic Commerce, the President directed the Secretary of Commerce to privatize the management of the domain name system (DNS) in a manner that increases competition and facilitates international participation in its management. Source: MoU (Memorandum of Understanding; November 1998) November 1998 Start of ICANN (Internet Corporation for Assigned Numbers and Names) Responsibilities IP address assignment, via ASO Internet domain names, via GNSO and ccnso Protocol parameters and port numbers, supported by IANA DNS structure Root servers Hierarchical tree root is unnamed ( unlabeled ) Top Level Domains (TLDs) generic TLDs (gtlds) country code TLDs (cctlds) Distributed database Status in 2001, according to ICANN official Michael Roberts 13 root servers Most of them located in the US (10)

4 Root servers map Root server list (part 1) A NSI (Verisign) Herndon VA (Dulles VA) B USC-ISI Marina del Rey CA C PSInet (Cogent Communications) Herndon VA (*) D University of Maryland College Park MD E NASA (Ames) Mountain View CA F Internet Software Consortium (ISC) Palo Alto CA (*) G DISA (US DOD NOC) Vienna VA H US Army Research Lab (ARL) Aberdeen MD Map provided by ICANN Root server list (part 2) Anycast I NORDUnet (Autonomica) Stockholm (*) J NSI (Verisign) Herndon (Dulles VA) (*) K RIPE (NCC) London (*) L ICANN Marina del Rey (Los Angeles CA) (*) M WIDE Tokyo (*) (*) These nameservers use anycast Overloading of IP address Route to nearest instance (BGP metric) Global or local significance

5 k root server presence Anycasted root servers map Map provided by RIPE Map (2007) provided by Patrik Fältström DNS concepts Domain names Domain Name Space Resource Records Name Servers Resolvers Nodes (internal and leaf) have a label root label is empty (not ) non-root labels must be non-empty A domain name is a sequence of labels separated by. (dot) A domain is a domain name together with all domain names below

6 To slash or not to slash To dot or not to dot Compare domain names to pathnames in a filesystem Labels (filenames) separated by / (slash). Absolute versus relative pathnames Absolute domain (FQDN) mail.serv.os3.nl. Relative domain mail mail.serv machine.cs can (could?) give problems (Why?) Resource Records (RR s) A record owner (domain name) type (A, CNAME, MX, NS, PTR, SOA,... ) class (IN, CH) ttl (time to live (in cache)) resource data (depends on type) Address record translates domain name to IP address mail.serv.os3.nl Multihomed hosts have several A records Routers have multiple A records

7 CNAME record MX record Canonical name record defines an alias info4u.os3.nl. No other RR s are allowed Does not work for subdomains DNAME record proposed for that Mail exchanger record defines for a domain mail servers for that domain and the order of their preference lower precedence is preferred MX must not point to a CNAME NS record PTR record Name server record defines a cut (zone) Must list at least two name servers Makes DNS distributed Delegates responsibility NS record must not point to a CNAME A pointer record literally points to an arbitrary point Mostly used for reverse lookup mail.serv.os3.nl. But lookup works via in-addr.arpa in-addr.arpa.

8 SOA record Numerical SOA params (recommended values) Start Of Authority record administrates important zone parameters hostname of master server ns1.os3.nl. address (in dot form) of responsible person hostmaster.os3.nl. numerical parameters The SOA record itself can have a low TTL (for instance 3600 = 1 hour) Serial (YYYYMMDDnn) Refresh (86400 = 1 day) Retry (7200 = 2 hours) Expire ( = 1000 hours 40 days) Minimum ( = 2 days, but... ) Numerical SOA params (OS3 example) Minimum These values are quite low (during IP migration) Serial ( ) Refresh (3600 = 1 hour) Retry (1800 = 30 minutes) Expire (21600 = 6 hours) Minimum (3600 = 1 hour, but... ) Different interpretations Minimal TTL allowed (never used this way) Default TTL, if TTL not specified (BIND 8) TTL for caching negative replies (BIND 9) BIND 9 uses global $TTL for default TTL

9 Resource Record sets (RRsets) Name servers and zones Grouping of a set of RRs with the same owner, class and type All RRs in an RRset must have the same TTL DNSSEC signs complete RRsets with RRSIG RRs which might make the RRSIG RR an exception to the item before :) Zones are created by cuts (delegations) Cuts are defined by NS records inside parent zone non-authoritative by definition Glue A records sometimes needed When name servers for the delegation are in bailiwick Or in the more general case when name servers have circular dependencies and create bailiwick loops Bootstrap issues Name server types Hint file for root RR s Glue for child zones Glue NS records (stub server) Glue A records (for servers inside the child zone) Glue data is not authoritative unless the parent is also a slave server Non-authoritative data should be replaced by authoritative data Master (primary) Slave (secondary) Stub (limited secondary) Stealth (secondary that is not listed) Caching-only (never authoritative) Forward-only (using forwarders )

10 Recursion and iteration Resolver Recursive behaviour Server follows referrals itself and Often doesn t have authoritative data Iterative behaviour Server answers with authoritative data or Server passes referrals back to clients Library doing domain name lookup Uses /etc/resolv.conf Contacts a recursive nameserver Does not follow referrals itself Caching Common mistakes Necessary for performance Negative caching adds more functionality See RFC 2308 Lots of subtleties See RFC 1912 and also RFCs 2181 and 4697 Using CNAMEs in MX and NS records Forgetting the final. Lame delegation Lack of human coordination

11 DNS Message packet format DNS packet header Header section Question section Answer section Authority section Additional section ID Flags QDCOUNT ANCOUNT NSCOUNT ARCOUNT DNS header fields ID Flags QDCOUNT ANCOUNT NSCOUNT ARCOUNT Transaction Identifier See next slide Number of questions Number of answers Number of authority records Number of additional records DNS header flags Bit(s) Mnemonic Meaning 0 QR Query or Response 1-4 OPCODE Kind of Query 5 AA Authoritative Answer 6 TC TrunCation or Truncated Response 7 RD Recursion Desired 8 RA Recursion Available 9 - Reserved 10 AD Authentic Data (DNSSEC) 11 CD Checking Disabled (DNSSEC) RCODE Result Code (bits 12-15)

12 DNS result codes DNS opcodes 0 Query Standard query 1 IQuery Inverse Query (obsolete) 2 Status Status query (not standardized) 4 Notify Change of master data 5 Update Dynamic update Value Mnemonic Meaning 0 NoError No Error 1 FormErr Format Error 2 ServFail Server Failure 3 NXDomain Non-Existent Domain 4 NotImp Not Implemented 5 Refused Query Refused >15... Extended result codes (EDNS0) Queries Label types In most cases QDCOUNT is 1 Query consists of QNAME (sequence of labels, coded with length/value) QTYPE (2 bytes) QCLASS (2 bytes, almost always IN (==1)) First two bits of the length byte denote the label type A label length may not exceed 63 octets (6 bits needed) 00: Normal label length 11: Compressed label: 6+8 bits used as pointer 01: Extended label type (EDNS0) : Binary labels (for use with IPv6 PTR types)

13 Answers, Authorities and Additionals (1) Answers, Authorities and Additionals (2) Each of these are a list of resource records NAME, TYPE, CLASS (as in queries) TTL (4 bytes) RDLENGTH (2 bytes) RDATA (RDLENGTH bytes) Answers Answers the question(s) Special treatment of CNAMEs Authorities Adds NS records as referral information Additionals Courtesy information Dangerous... if accepted too easily especially if the information is not related to the question DNS limitations Message Authentication DNS is usually based on UDP RFC 1035 maximum size is 512 bytes of DNS content Option to use TCP was present from the start but was not recommended for ordinary use DNS has weak security DNS packets can easily be spoofed Initially no support for message authentication except for a clear text Transaction ID TSIG mechanism added in RFC 2845 calculates HMAC-MD5 over the complete DNS packet adds this as a pseudo -TSIG-RR uses secret keys may use a pseudo -TKEY-RR for key exchange (RFC 2930) SIG(0) mechanism added in RFC 2931 uses public keys uses DNSSEC mechanisms extends DNSSEC to cover complete DNS packets

14 Extension Mechanisms for DNS EDNS0 Specified in RFC 2671 Necessary for DNSSEC Extends maximum size of UDP-based requests and responses Extends possible flags, result codes and label types Uses a pseudo -OPT-RR Used by DNSSEC for DO (DNSSEC OK) extended flag

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

DNS. dr. C. P. J. Koymans. September 16, Informatics Institute University of Amsterdam. dr. C. P. J. Koymans (UvA) DNS September 16, / 46 DNS dr. C. P. J. Koymans Informatics Institute University of Amsterdam September 16, 2008 dr. C. P. J. Koymans (UvA) DNS September 16, 2008 1 / 46 DNS and BIND DNS (Domain Name System) concepts theory

More information

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Root servers.

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Root servers. Table of Contents Specification and implementation DNS Karst Koymans Informatics Institute University of Amsterdam (version 1.11, 2010/10/04 10:03:37) Tuesday, September 14, 2010 A short history of DNS

More information

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Root servers.

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Root servers. Table of Contents Specification and implementation DNS Karst Koymans Informatics Institute University of Amsterdam (version 1.20, 2011/09/26 13:56:09) Tuesday, September 13, 2011 A short history of DNS

More information

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

DNS. Karst Koymans & Niels Sijm. Tuesday, September 7, Informatics Institute University of Amsterdam DNS Karst Koymans & Niels Sijm Informatics Institute University of Amsterdam Tuesday, September 7, 2012 Karst Koymans & Niels Sijm (UvA) DNS Tuesday, September 7, 2012 1 / 62 1 DNS: what does it do and

More information

The basics. Karst Koymans. Tuesday, September 9, 2014

The basics. Karst Koymans. Tuesday, September 9, 2014 .. DNS The basics Karst Koymans Informatics Institute University of Amsterdam (version 4.7, 2014/09/11 13:54:31) Tuesday, September 9, 2014 Karst Koymans (UvA) DNS Tuesday, September 9, 2014 1 / 64 .1

More information

DNS. Some advanced topics. Karst Koymans. Informatics Institute University of Amsterdam. (version 17.2, 2017/09/25 12:41:57)

DNS. Some advanced topics. Karst Koymans. Informatics Institute University of Amsterdam. (version 17.2, 2017/09/25 12:41:57) DNS Some advanced topics Karst Koymans Informatics Institute University of Amsterdam (version 17.2, 2017/09/25 12:41:57) Friday, September 22, 2017 Karst Koymans (UvA) DNS Friday, September 22, 2017 1

More information

Some advanced topics. Karst Koymans. Tuesday, September 16, 2014

Some advanced topics. Karst Koymans. Tuesday, September 16, 2014 DNS Some advanced topics Karst Koymans Informatics Institute University of Amsterdam (version 44, 2014/09/15 08:39:47) Tuesday, September 16, 2014 Karst Koymans (UvA) DNS Tuesday, September 16, 2014 1

More information

DNS. Karst Koymans & Niels Sijm. Friday, September 14, Informatics Institute University of Amsterdam

DNS. Karst Koymans & Niels Sijm. Friday, September 14, Informatics Institute University of Amsterdam DNS Karst Koymans & Niels Sijm Informatics Institute University of Amsterdam Friday, September 14, 2012 Karst Koymans & Niels Sijm (UvA) DNS Friday, September 14, 2012 1 / 32 1 DNS on the wire 2 Zone transfers

More information

Table of Contents DNS. Specification versus implementations. Primary use case. DNS: basic ideas and functionality. The basics. A short history of DNS

Table of Contents DNS. Specification versus implementations. Primary use case. DNS: basic ideas and functionality. The basics. A short history of DNS Table of Contents DNS The basics Karst Koymans DNS: basic ideas and functionality A short history of DNS Basic concepts Informatics Institute University of Amsterdam (version 17.2, 2017/09/25 12:41:49)

More information

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

Domain Name Service. DNS Overview. October 2009 Computer Networking 1 Domain Name Service DNS Overview October 2009 Computer Networking 1 Why DNS? Addresses are used to locate objects (contain routing information) Names are easier to remember and use than numbers DNS provides

More information

Table of Contents DNS. Primary use case. Specification versus implementations. DNS: basic ideas and functionality. The basics. A short history of DNS

Table of Contents DNS. Primary use case. Specification versus implementations. DNS: basic ideas and functionality. The basics. A short history of DNS Table of Contents DNS The basics Karst Koymans DNS: basic ideas and functionality A short history of DNS Basic concepts Informatics Institute University of Amsterdam (version 18.7, 2018/09/24 13:14:01)

More information

CSc 450/550 Computer Networks Domain Name System

CSc 450/550 Computer Networks Domain Name System CSc 450/550 Computer Networks Domain Name System Jianping Pan Summer 2007 5/28/07 CSc 450/550 1 Review: Web/HTTP Web URI/URL, HTML tags, embedded objects HTTP request and response persistence, statefulness

More information

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

Computer Networks. Domain Name System. Jianping Pan Spring /25/17 CSC361 1 Computer Networks Domain Name System Jianping Pan Spring 2017 1/25/17 CSC361 1 Review: Web/HTTP Web URI/URL, HTML tags embedded/linked objects HTTP request and response persistence, statefulness web caching,

More information

The Domain Name System

The Domain Name System The Domain Name System Stefano Vissicchio UCL Computer Science COMP0023 Today 1. The Domain Name System (DNS) 2. A Brief Word on DNS Security A name indicates what we seek. An address indicates where it

More information

CSE561 Naming and DNS. David Wetherall

CSE561 Naming and DNS. David Wetherall CSE561 Naming and DNS David Wetherall djw@cs.washington.edu Naming and DNS Focus: How do we resolve names to addresses Names and addresses Application DNS as a system design Transport Network Link Physical

More information

IP ADDRESSES, NAMING, AND DNS

IP ADDRESSES, NAMING, AND DNS IP ADDRESSES, NAMING, AND DNS George Porter Apr 9, 2018 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license These

More information

CSCI-1680 DNS Rodrigo Fonseca

CSCI-1680 DNS Rodrigo Fonseca CSCI-1680 DNS Rodrigo Fonseca Based partly on lecture notes by Sco2 Shenker and John Janno6 Host names and IP Addresses Host names Mnemonics appreciated by humans Variable length, ASCII characters Provide

More information

Is your DNS server up-to-date? Pieter Lexis Senior PowerDNS Engineer April 22 nd 2018

Is your DNS server up-to-date? Pieter Lexis Senior PowerDNS Engineer April 22 nd 2018 lieter_ PowerDNS pieterlexis PowerDNS Is your DNS server up-to-date? Pieter Lexis Senior PowerDNS Engineer April 22 nd 2018 1 What s all this about? A DNS recap What is EDNS? Issues with EDNS on the internet

More information

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Chapter 2 Application Layer Lecture 5 DNS Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Application Layer 2-1 Chapter 2: outline 2.1 principles

More information

Request for Comments: E. Brunner-Williams. Category: Best Current Practice. B. Manning ISI September 2000

Request for Comments: E. Brunner-Williams. Category: Best Current Practice. B. Manning ISI September 2000 Network Working Group Request for Comments: 2929 BCP: 42 Category: Best Current Practice D. Eastlake, 3rd Motorola E. Brunner-Williams Engage B. Manning ISI September 2000 Status of this Memo Domain Name

More information

WE POWER YOUR MOBILE WORLD ENUM INTEGRATION MANUAL

WE POWER YOUR MOBILE WORLD ENUM INTEGRATION MANUAL ENUM INTEGRATION MANUAL 1 CONTENTS INTRODUCTION... 3 CONNECTIVITY... 3 TECHNICAL SPECIFICATION... 4 Valid format for ENUM server query... 4 ENUM server responses... 6 ENUM responses in case of error processing

More information

Internet Engineering Task Force (IETF) Request for Comments: Category: Best Current Practice ISSN: January 2019

Internet Engineering Task Force (IETF) Request for Comments: Category: Best Current Practice ISSN: January 2019 Internet Engineering Task Force (IETF) P. Hoffman Request for Comments: 8499 ICANN BCP: 219 A. Sullivan Obsoletes: 7719 Updates: 2308 K. Fujiwara Category: Best Current Practice JPRS ISSN: 2070-1721 January

More information

DNS Fundamentals. Steve Conte ICANN60 October 2017

DNS Fundamentals. Steve Conte ICANN60 October 2017 DNS Fundamentals Steve Conte ICANN60 October 2017 Names and Numbers IP addresses easy for machines but hard for people IPv4: 192.0.2.7 IPv6: 2001:db8::7 People need to use names In the early days of the

More information

DNS and CDNs : Fundamentals of Computer Networks Bill Nace

DNS and CDNs : Fundamentals of Computer Networks Bill Nace DNS and CDNs 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia HW #1 is posted Mission: Learn

More information

Domain Name System (DNS) 김현철 ( 화 ) 정보통신융합서울대학교컴퓨터공학부

Domain Name System (DNS) 김현철 ( 화 ) 정보통신융합서울대학교컴퓨터공학부 Domain Name System (DNS) 김현철 2010.09.29 ( 화 ) 정보통신융합서울대학교컴퓨터공학부 Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students,

More information

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

page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, October 2016 page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, 10-14 October 2016 page 2 IP: Identifiers on the Internet The fundamental identifier on the internet is an IP address. Each host connected

More information

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

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa NET 331 Computer Networks Lecture 05: Application Layer (Part 02) Domain Name System Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition by Kurose and

More information

CS 43: Computer Networks. 10: Naming and DNS September 24, 2018

CS 43: Computer Networks. 10: Naming and DNS September 24, 2018 CS 43: Computer Networks 10: Naming and DNS September 24, 2018 Last class Distributed systems architectures Client-Server Peer-to-Peer Challenges in design Partial failures Event ordering Lecture 10 -

More information

CSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose

CSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose CSEN 404 Introduction to Networks Mervat AbuElkheir Mohamed Abdelrazik ** Slides are attributed to J. F. Kurose HTTP Method Types HTTP/1.0 GET POST HEAD asks server to leave requested object out of response

More information

CSEN 503 Introduction to Communication Networks

CSEN 503 Introduction to Communication Networks CSEN 503 Introduction to Communication Networks 1-1 Mervat AbuElkheir Hana Medhat Ayman Dayf ** Slides are attributed to J. F. Kurose Roadmap: Application layer Cookies and User-Server State Web caches

More information

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

Domain Name System (DNS) Session-1: Fundamentals. Joe Abley AfNOG Workshop, AIS 2017, Nairobi Domain Name System (DNS) Session-1: Fundamentals Joe Abley AfNOG Workshop, AIS 2017, Nairobi Computers use IP addresses. Why do we need names? Names are easier for people to remember Computers may be moved

More information

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

Domain Name System (DNS) DNS Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale. The old solution: HOSTS. Domain Name System (DNS) Computers use IP addresses. Why do we need names? Names are easier for people to remember DNS Fundamentals Computers may be moved between networks, in which case their IP address

More information

IPv6 How-To for a Registry 17th CENTR Technical Workshop

IPv6 How-To for a Registry 17th CENTR Technical Workshop IPv6 How-To for a Registry 17th CENTR Technical Workshop Amsterdam, October 2007 Alvaro Vives (alvaro.vives@consulintel.es) Jordi Palet (jordi.palet@consulintel.es) Introduction Main steps to be undertaken

More information

Lecture 7: Application Layer Domain Name System

Lecture 7: Application Layer Domain Name System Lecture 7: Application Layer Domain Name System COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F Kurose

More information

Objectives. Upon completion you will be able to:

Objectives. Upon completion you will be able to: Domain Name System: DNS Objectives Upon completion you will be able to: Understand how the DNS is organized Know the domains in the DNS Know how a name or address is resolved Be familiar with the query

More information

Internet Engineering. DNS Message Format. Contents. Robert Elz.

Internet Engineering. DNS Message Format. Contents.  Robert Elz. Internet Engineering 241-461 Robert Elz kre@munnari.oz.au kre@coe.psu.ac.th http://fivedots.coe.psu.ac.th/~kre Contents The Domain Name System The DNS Database DNS Protocols DNS Message Formats ueries

More information

CSE 486/586 Distributed Systems

CSE 486/586 Distributed Systems CSE 486/586 Distributed Systems The Domain Name System Slides by Steve Ko Computer Sciences and Engineering University at Buffalo CSE 486/586 Domain Name System (DNS) Proposed in 1983 by Paul Mockapetris

More information

CSCI-1680 DNS Rodrigo Fonseca

CSCI-1680 DNS Rodrigo Fonseca CSCI-1680 DNS Rodrigo Fonseca Based partly on lecture notes by Scott Shenker and John Jannotti We know how to open TCP connections to a server/port: E.g., 128.148.32.110, port 80 Host names and IP Addresses

More information

Network Working Group

Network Working Group Network Working Group R. Arends Request for Comments: 4035 Telematica Instituut Obsoletes: 2535, 3008, 3090, 3445, 3655, 3658, R. Austein 3755, 3757, 3845 ISC Updates: 1034, 1035, 2136, 2181, 2308, 3225,

More information

CSE 124: IP ADDRESSES, NAMING, AND DNS. George Porter Oct 4, 2017

CSE 124: IP ADDRESSES, NAMING, AND DNS. George Porter Oct 4, 2017 CSE 124: IP ADDRESSES, NAMING, AND DNS George Porter Oct 4, 2017 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license

More information

Response Differences between NSD and other DNS Servers

Response Differences between NSD and other DNS Servers Response Differences between NSD and other DNS Servers Jelte Jansen, NLnet Labs Wouter Wijngaards, NLnet Labs NLnet Labs document 2006-004 November 2, 2006 Abstract This note describes observed differences

More information

ECE 435 Network Engineering Lecture 7

ECE 435 Network Engineering Lecture 7 ECE 435 Network Engineering Lecture 7 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 25 September 2018 HW#3 was Posted Announcements 1 HW#2 Review C code will be discussed next

More information

Chapter 2: Application layer

Chapter 2: Application layer Chapter 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 Socket programming with TCP 2.8 Socket

More information

DNS Basics BUPT/QMUL

DNS Basics BUPT/QMUL DNS Basics BUPT/QMUL 2018-04-16 Related Information Basic function of DNS Host entry structure in Unix Two system calls for DNS database retrieving gethostbyname () gethostbyaddr () 2 Agenda Brief introduction

More information

Request for Comments: 2672 Category: Standards Track August 1999

Request for Comments: 2672 Category: Standards Track August 1999 Network Working Group M. Crawford Request for Comments: 2672 Fermilab Category: Standards Track August 1999 Status of this Memo Non-Terminal DNS Name Redirection This document specifies an Internet standards

More information

Applications & Application-Layer Protocols: (SMTP) and DNS

Applications & Application-Layer Protocols:  (SMTP) and DNS CS 312 Internet Concepts Applications & Application-Layer Protocols: E (SMTP) and DNS Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs312-f11

More information

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

DNS. Introduction To. everything you never wanted to know about IP directory services Introduction To DNS everything you never wanted to know about IP directory services Linux Users Victoria, April 3 rd 2007 what is the domain name system anyway? it's like a phone book...kinda DNS is (1)

More information

CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks Welcome to CS 3516: Adanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: Fuller 320 Fall 2017 A-term 1 Some slides are originally from the course materials of the textbook

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.5 Chapter 2: outline 2.1 principles of network applications app architectures

More information

Domain Name System (DNS)

Domain Name System (DNS) Domain Name System (DNS) Smith College, CSC 249 Feb 6, 2017 1 TODAY: Domain Name System qthe directory system for the Internet v Used by other application layer protocols v via socket programming qmaps

More information

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

Domain Name System (DNS) Session-1: Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale Domain Name System (DNS) Computers use IP addresses. Why do we need names? Names are easier for people to remember Session-1: Fundamentals Computers may be moved between networks, in which case their IP

More information

Application-layer Protocols

Application-layer Protocols Application-layer Protocols Kai Shen application transport data link physical Network Applications and Application-Layer Protocols application transport data link physical application transport data link

More information

Expires: November 15, 2004 VeriSign R. Austein ISC D. Massey USC/ISI S. Rose NIST May 17, 2004

Expires: November 15, 2004 VeriSign R. Austein ISC D. Massey USC/ISI S. Rose NIST May 17, 2004 DNS Extensions Internet-Draft Expires: November 15, 2004 R. Arends Telematica Instituut M. Larson VeriSign R. Austein ISC D. Massey USC/ISI S. Rose NIST May 17, 2004 Protocol Modifications for the DNS

More information

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

DNS/DNSSEC Workshop. In Collaboration with APNIC and HKIRC Hong Kong. Champika Wijayatunga Regional Security Engagement Manager Asia Pacific DNS/DNSSEC Workshop In Collaboration with APNIC and HKIRC Hong Kong Champika Wijayatunga Regional Security Engagement Manager Asia Pacific 22-24 January 2018 1 Agenda 1 2 3 Introduction to DNS DNS Features

More information

Expires: June 16, 2004 VeriSign R. Austein ISC D. Massey USC/ISI S. Rose NIST December 17, 2003

Expires: June 16, 2004 VeriSign R. Austein ISC D. Massey USC/ISI S. Rose NIST December 17, 2003 DNS Extensions Internet-Draft Expires: June 16, 2004 R. Arends Telematica Instituut M. Larson VeriSign R. Austein ISC D. Massey USC/ISI S. Rose NIST December 17, 2003 Protocol Modifications for the DNS

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2013 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Project 1 Python HTTP Server Work day: Next Tuesday (Sept 24 th ) Due Thursday, September 26 th by 11:55pm

More information

Chapter 2 part B: outline

Chapter 2 part B: outline Chapter 2 part B: outline 2.3 FTP 2.4 electronic, POP3, IMAP 2.5 DNS Application Layer 2-1 FTP: the file transfer protocol at host FTP interface FTP client local file system file transfer FTP remote file

More information

DNS Hierarchical Name Space. BIND Terminology and DNS Name Servers. Distributed Hierarchical Database (1st Approx) Domain Name System (DNS)

DNS Hierarchical Name Space. BIND Terminology and DNS Name Servers. Distributed Hierarchical Database (1st Approx) Domain Name System (DNS) Domain Name System (DNS) DNS consists of 1. an hierarchical name space name allocation decentralized to domains host.sub-subdomain.....subdomain.domain[.root] host machine name, can be an alias sub-subdomain

More information

APNIC elearning: DNS Concepts

APNIC elearning: DNS Concepts APNIC elearning: DNS Concepts 27 MAY 2015 11:00 AM AEST Brisbane (UTC+10) Issue Date: Revision: Introduction Presenter Sheryl Hermoso Training Officer sheryl@apnic.net Specialties: Network Security IPv6

More information

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

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration. Chapter 5 Introduction to DNS in Windows Server 2008 MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008 Objectives Discuss the basics of the Domain Name System (DNS) and its

More information

SOFTWARE ARCHITECTURE 9. NAME RESOLUTION.

SOFTWARE ARCHITECTURE 9. NAME RESOLUTION. 1 SOFTWARE ARCHITECTURE 9. NAME RESOLUTION Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 OSI Reference Model Open Systems Interconnect ISO defined around 1984. Application

More information

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm Application Layer Goals: Conceptual aspects of network application protocols Client server paradigm Service models Review protocols by examining popular application-level protocols HTTP DNS 1 Applications

More information

Expiration Date: May 1997 Randy Bush RGnet, Inc. November Clarifications to the DNS Specification. draft-ietf-dnsind-clarify-02.

Expiration Date: May 1997 Randy Bush RGnet, Inc. November Clarifications to the DNS Specification. draft-ietf-dnsind-clarify-02. Network Working Group Internet Draft Expiration Date: May 1997 Robert Elz University of Melbourne Randy Bush RGnet, Inc. November 1996 Clarifications to the DNS Specification Status of this Memo draft-ietf-dnsind-clarify-02.txt

More information

Table of Contents. DNS security. Alternative DNS security mechanism. DNSSEC specification. The long (and winding) road to the DNSSEC specification

Table of Contents. DNS security. Alternative DNS security mechanism. DNSSEC specification. The long (and winding) road to the DNSSEC specification Table of Contents DNS security Karst Koymans Informatics Institute University of Amsterdam (version 1.19, 2011/09/27 14:18:11) Friday, September 23, 2011 The long (and winding) road to the DNSSEC specification

More information

Request for Comments: Category: Informational October 1994

Request for Comments: Category: Informational October 1994 Network Working Group Request for Comments: 1706 Obsoletes: 1637, 1348 Category: Informational B. Manning ISI R. Colella NIST October 1994 DNS NSAP Resource Records Status of this Memo This memo provides

More information

Introduction to the Domain Name System

Introduction to the Domain Name System The Domain Name System (DNS) handles the growing number of Internet users. DNS translates names, such as www.cisco.com, into IP addresses, such as 192.168.40.0 (or the more extended IPv6 addresses), so

More information

DNS Mark Kosters Carlos Martínez {ARIN, LACNIC} CTO

DNS Mark Kosters Carlos Martínez {ARIN, LACNIC} CTO DNS Workshop @CaribNOG12 Mark Kosters Carlos Martínez {ARIN, LACNIC} CTO DNS Refresher and Intro to DNS Security Extension (DNSSEC) Outline Introduction DNSSEC mechanisms to establish authenticity and

More information

Expiration Date: July 1997 Randy Bush RGnet, Inc. January Clarifications to the DNS Specification. draft-ietf-dnsind-clarify-04.

Expiration Date: July 1997 Randy Bush RGnet, Inc. January Clarifications to the DNS Specification. draft-ietf-dnsind-clarify-04. Network Working Group Internet Draft Expiration Date: July 1997 Robert Elz University of Melbourne Randy Bush RGnet, Inc. January 1997 Clarifications to the DNS Specification Status of this Memo draft-ietf-dnsind-clarify-04.txt

More information

EE 122: Domain Name System

EE 122: Domain Name System EE 122: Domain Name System Ion Stoica (and Brighten Godfrey) TAs: Lucian Popa, David Zats and Ganesh Ananthanarayanan http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Vern Paxson, Jennifer

More information

Reminders. EE 122: Domain Name System. Goals of Today!s Lecture. Host Names vs. IP addresses. Separating Naming and Addressing

Reminders. EE 122: Domain Name System. Goals of Today!s Lecture. Host Names vs. IP addresses. Separating Naming and Addressing Reminders EE 122: Domain Name System Homework 2 due Oct 1 @ 3:50 pm Oct 1 is this Wednesday Project 1 checkpoint due Oct 6 @ 11:59:59 pm Ion Stoica (and Brighten Godfrey) TAs: Lucian Popa, David Zats and

More information

DNS Mark Kosters Carlos Martínez ARIN - LACNIC

DNS Mark Kosters Carlos Martínez ARIN - LACNIC DNS Workshop @CaribNOG8 Mark Kosters Carlos Martínez ARIN - LACNIC DNS Refresher and Intro to DNS Security Extension (DNSSEC) Outline Introduction DNSSEC mechanisms to establish authenticity and integrity

More information

Configuration of Authoritative Nameservice

Configuration of Authoritative Nameservice Configuration of Authoritative Nameservice AfCHIX 2011 Blantyre, Malawi (based on slides from Brian Candler for NSRC) Recap DNS is a distributed database Resolver asks Cache for information Cache traverses

More information

Domain Name System - Advanced Computer Networks

Domain Name System - Advanced Computer Networks - Advanced Computer Networks Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 26 August, 2011 Contents 1 Distributed database, highly volatile Domain names Top level domains

More information

Chapter 19. Domain Name System (DNS)

Chapter 19. Domain Name System (DNS) Chapter 19 Domain Name System (DNS) TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. OBJECTIVES: To describe the purpose of DNS. To define

More information

RIPE Network Coordination Centre. K-root and DNSSEC. Wolfgang Nagele RIPE NCC.

RIPE Network Coordination Centre. K-root and DNSSEC. Wolfgang Nagele RIPE NCC. K-root and DNSSEC Wolfgang Nagele RIPE NCC RIPE NCC One of the five Regional Internet Registries Provides IP address and AS number resources to Europe and Middle-East regions DNS related work - Parent

More information

An Overview of DNSSEC. Cesar Diaz! lacnic.net!

An Overview of DNSSEC. Cesar Diaz! lacnic.net! An Overview of DNSSEC Cesar Diaz! cesar@ lacnic.net! 1 DNSSEC??? The DNS Security Extension (DNS SEC) attach special kind of information called criptographic signatures to the queries and response that

More information

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

f.root-servers.net ISOC cctld Workshop Nairobi, Kenya, 2005 f.root-servers.net ISOC cctld Workshop Nairobi, Kenya, 2005 The Basics DNS The Domain Name System is a huge database of resource records globally distributed, loosely coherent, scaleable, reliable, dynamic

More information

K-Root Nameserver Operations

K-Root Nameserver Operations K-Root Nameserver Operations Andrei Robachevsky Chief Technical Officer andrei@ripe.net 1 Outline Root Server System What is a root server? Where is the root? Anycast Routing The basics Advantages of using

More information

Application Layer: , DNS

Application Layer:  , DNS Application Layer: E-mail, DNS EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 22-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Application Layer III Dmitri Loguinov Texas A&M University February 8, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

CIA Lab Assignment: Domain Name System (1)

CIA Lab Assignment: Domain Name System (1) CIA Lab Assignment: Domain Name System (1) A. Bakker N. Sijm J. van der Ham M. Pouw Feedback deadline: September 22, 2015 10:00 CET Abstract The Domain Name System (DNS) is a hierarchical, distributed

More information

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

DNS. A Massively Distributed Database. Justin Scott December 12, 2018 DNS A Massively Distributed Database Justin Scott December 12, 2018 What is DNS? Translates Hostnames to IP Addresses What is DNS? Example: www.serverlogic.com 23.185.0.4 What is DNS? Example: www.serverlogic.com

More information

Page 1. TCP Flow Control" TCP Flow Control" TCP Flow Control" CS162 Operating Systems and Systems Programming Lecture 16. Flow Control, DNS"

Page 1. TCP Flow Control TCP Flow Control TCP Flow Control CS162 Operating Systems and Systems Programming Lecture 16. Flow Control, DNS CS162 Operating Systems and Systems Programming Lecture 16 Flow Control, DNS" March 28, 2011! Ion Stoica! http://inst.eecs.berkeley.edu/~cs162! TCP: stream oriented protocol! Sender sends a stream of bytes,

More information

Internet Engineering Task Force (IETF) Request for Comments: Category: Best Current Practice ISSN: March 2017

Internet Engineering Task Force (IETF) Request for Comments: Category: Best Current Practice ISSN: March 2017 Internet Engineering Task Force (IETF) Request for Comments: 8109 BCP: 209 Category: Best Current Practice ISSN: 2070-1721 P. Koch DENIC eg M. Larson P. Hoffman ICANN March 2017 Initializing a DNS Resolver

More information

K-Root Name Server Operations

K-Root Name Server Operations K-Root Name Server Operations Andrei Robachevsky andrei@ripe.net 1 Outline Root Server System brief update Architecture Current locations Anycast deployment K.root-servers.net Server Major milestones Current

More information

Goal of this session

Goal of this session DNS refresher Overview Goal of this session What is DNS? How is DNS built and how does it work? How does a query work? Record types Caching and Authoritative Delegation: domains vs zones Finding the error:

More information

A DNS Tutorial

A DNS Tutorial http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/ Copyright Table of Contents What is a DNS?... 3 Why do we need a DNS?... 3 Why do computers prefer addresses based on numbers?... 3 What is a Domain Name,

More information

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

DNS security. Karst Koymans & Niels Sijm. Tuesday, September 18, Informatics Institute University of Amsterdam DNS security Karst Koymans & Niels Sijm Informatics Institute University of Amsterdam Tuesday, September 18, 2012 Karst Koymans & Niels Sijm (UvA) DNS security Tuesday, September 18, 2012 1 / 38 1 Chain

More information

A Root DNS Server. Akira Kato. Brief Overview of M-Root. WIDE Project

A Root DNS Server. Akira Kato. Brief Overview of M-Root. WIDE Project A Root DNS Server Akira Kato WIDE Project kato@wide.ad.jp Brief Overview of M-Root Assumes basic knowledge on DNS Dr. Tatsuya Jinmei has introduced in Nov 19, 2004 What s Root Servers? Start point of the

More information

BIND-USERS and Other Debugging Experiences. Mark Andrews Internet Systems Consortium

BIND-USERS and Other Debugging Experiences. Mark Andrews Internet Systems Consortium BIND-USERS and Other Debugging Experiences Mark Andrews Internet Systems Consortium Mark_Andrews@isc.org http://isc.org BIND-USERS and Other Debugging Experiences We will look at some typical debugging

More information

Network Working Group. Category: Standards Track December 2001

Network Working Group. Category: Standards Track December 2001 Network Working Group D. Conrad Request for Comments: 3225 Nominum, Inc. Category: Standards Track December 2001 Status of this Memo Indicating Resolver Support of DNSSEC This document specifies an Internet

More information

CSCD 330 Network Programming Winter 2015

CSCD 330 Network Programming Winter 2015 CSCD 330 Network Programming Winter 2015 Lecture 5 Application Layer Reading: Chapter 2 Still Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 More Network

More information

Linux Network Administration

Linux Network Administration Linux Network Administration Objective Describe the organization of the namespace Define the top-level subdomains of the Describe the process of converting IP addresses into names Define the concept of

More information

Outline NET 412 NETWORK SECURITY PROTOCOLS. Reference: Lecture 7: DNS Security 3/28/2016

Outline NET 412 NETWORK SECURITY PROTOCOLS. Reference:  Lecture 7: DNS Security 3/28/2016 Networks and Communication Department NET 412 NETWORK SECURITY PROTOCOLS Lecture 7: DNS Security 2 Outline Part I: DNS Overview of DNS DNS Components DNS Transactions Attack on DNS Part II: DNS Security

More information

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

CompSci 356: Computer Network Architectures. Lecture 20: Domain Name System (DNS) and Content distribution networks Chapter 9.3.1 CompSci 356: Computer Network Architectures Lecture 20: Domain Name System (DNS) and Content distribution networks Chapter 9.3.1 Xiaowei Yang xwy@cs.duke.edu Overview Domain Name System Content Distribution

More information

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

DNS and SMTP. James Walden CIT 485: Advanced Cybersecurity. James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31 DNS and SMTP James Walden CIT 485: Advanced Cybersecurity James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31 Table of contents 1. DNS 2. DNS Protocol Packets 3. DNS Caching 4. DNS Cache Poisoning

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) Dynamic

More information

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

Domain Name System (DNS) Session 2: Resolver Operation and debugging. Joe Abley AfNOG Workshop, AIS 2017, Nairobi Domain Name System (DNS) Session 2: Resolver Operation and debugging Joe Abley AfNOG Workshop, AIS 2017, Nairobi DNS Resolver Operation How Resolvers Work (1)! If we've dealt with this query before recently,

More information

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

DNS Session 2: DNS cache operation and DNS debugging. Joe Abley AfNOG 2006 workshop DNS Session 2: DNS cache operation and DNS debugging Joe Abley AfNOG 2006 workshop How caching NS works (1) If we've dealt with this query before recently, answer is already in the cache easy! Resolver

More information

RFC 2181 Ranking data and referrals/glue importance --- new resolver algorithm proposal ---

RFC 2181 Ranking data and referrals/glue importance --- new resolver algorithm proposal --- RFC 2181 Ranking data and referrals/glue importance --- new resolver algorithm proposal --- Kazunori Fujiwara fujiwara@jprs.co.jp Japan Registry Services Co., Ltd (JPRS) DNS-OARC Workshop 2016/10/16 Last

More information