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

Size: px
Start display at page:

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

Transcription

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

2 What is DNS? Translates Hostnames to IP Addresses

3 What is DNS? Example:

4 What is DNS? Example:

5 What is DNS?

6 But there s so much more

7 Agenda How did we get here? What does DNS store? How can we query it? Interesting use-cases.

8 How did we get here? A bit of history.

9 There is no Internet

10 October 29, 1969 ARPANet created with four hosts UCLA s Network Measurement Center Stanford Research Institute (SRI) University of California-Santa Barbara University of Utah

11 Connecting by name is much easier than connecting by numbers.

12 HOSTS.TXT Each computer has its own HOSTS.TXT file mapping names to addresses. There is no central authority or standard.

13 September 20, 1971 RFC #226 STANDARDIZATION OF HOST MNEUMONICS First standard list of hostnames and numbers proposed by Peggy Karp with 20 hosts listed. She suggests six character hostnames.

14 September 20, 1971 RFC #226 STANDARDIZATION OF HOST MNEUMONICS

15 September 22, 1971 RFC #229 STANDARD HOST NAMES Jon Postel updates the list with 40 hostnames and suggests eight-character names.

16 October 12, 1971 RFC #247 Proferred [sic] Set of Standard Host Names Peggy Karp lists 44 hosts with a standardized, eight-character site-machine name format.

17 December 12, 1973 RFC #597 Host Status Formal host listing is updated with 81 named hosts on the network. Managing all these HOSTS.TXT files is hard.

18 December, 1973 RFC #606 Host Names On-line Suggests a central authority to maintain and distribute a standard HOSTS.TXT file.

19 TEN Years Later

20 November, 1983 RFC #882 DOMAIN NAMES - CONCEPTS and FACILITIES Paul Mockapetris invents DNS.

21 Design Goals Uniform Reliable Efficient Distributed

22 What Does DNS Store? More than you might think

23 More Than Just Addresses Resource Record Types: A Address (IPv4; most common) MX Mail Exchanger (originally MF and MD) NS Name Server SOA Start of Authority CNAME Canonical Name (alias to another name) TXT Arbitrary Textual Data AAAA Address (IPv6; quad-a ) Others There are about 40 active RR Types

24 Example Zone Data example.com. SOA ns1.example.com. admin.example.com. ( ; Serial ; Refresh (3h) 3600 ; Retry (1h) ; Expire (1w) 3600) ; Neg. Cache TTL NS NS MX 10 MX 20 TXT v=spf1 a:mail.example.com A jeff CNAME the-boss.gointerject.com. mail A mail AAAA 2001:db8:85a3:0:0:8a2e:370:7334 ns1 A ns2 A www A www A

25 How Can We Query It? Just follow the tree

26 DNS Tree Structure Like a B-Tree in a database. Branches = Domain Registrars Leaves = Domain Names and Hosts

27 Anatomy of a Domain Name Example: www serverlogic com = hostname = second-level domain = top-level (generic) domain

28 Let s Follow the Tree Queries run from the least specific name to the most specific name. com is the least specific zone, so we ll start there.

29 But There s Something Missing

30 Every Tree Needs a Root! Every domain name shares the same name space, beginning with the root domain. The root is invisible and represented as a blank (null) domain, or simply the last dot.

31 Root Hints Every DNS server starts with a static list of hints as to where to find the root servers. Updated at startup. 13 Root Servers, named A-M, are run by large organizations. (Verisign, Cogent, NASA, US-DOD, etc.). Each of the 13 root servers is actually multiple servers peppered around the world using IP anycast routing. See:

32 Roots Close to Home

33 Query Demo Start with a root hint:

34 Run NSLOOKUP (Windows) Set server to and query:

35 DIG is Another Option

36 We got a Referral The server we asked couldn t answer our question, but referred us farther down the tree to other servers. In this case, a list of hosts at gtld-servers.net. These servers are authoritative for the general top-level domains (com, net, org, etc.).

37 Google s.dev Example Google runs the.dev top-level domain and has a subsidiary called Charleston Road Registry that manages that name space.

38 Let s Ask a GTLD Server Query b.gtld-servers.net at for

39 Another Referral We got referred to A DNS server at ns.opusnet.com. Let s ask them [ ] for an answer

40 This has all happened before It will all happen again

41 Lookup New CNAME Host Because we got a CNAME as the answer to our last question, we have to start over at the root for the new hostname at live-serverlogic.pantheonsite.io: Ask ROOT -> a0.nic.io [ ] Ask > ns-852.awsdns-42.net [no hint] [Repeat process to look up that host, resolves to ] Ask >

42 ServerLogic really wants us to work for that Address record we asked for

43 Lookup New CNAME Host Start over (again) at the root for the new hostname at fe4.edge.pantheon.io: Ask ROOT -> a0.nic.io [ ] Ask > ns-148.awsdns-18.com [no hint] [Repeat process, look up that host, resolves to ] Ask > Referral to ns-644.awsdns-16.net [no hint] [Repeat process, look up that host, resolves to ] Ask >

44 Asking NSLookup Confirms Sending the query to a recursive server brings back the same chain of aliases and address result:

45 Other Record Types? We can ask the server for whatever RR we want. How about MX records for mail routing?

46 Other Record Types? We can ask the server for whatever RR we want. How about MX records for mail routing?

47 That seems like a lot of work! There s an easier way!

48 Recursive Name Servers Large servers run by your ISP which do the heavy lifting for you. They cache a lot of information to speed up response times and reduce load on DNS overall. Specified by your TCP/IP settings, usually set automatically using DHCP by the network.

49 Recursive Name Servers Your computer asks them a question and they return from cache, or go out to the root and follow the tree on your behalf to get the answer (and cache it for others). You can decide what recursive name server to use

50 Alternative Name Servers A third-party recursive name server can speed up query responses or provide additional security, domain filtering, etc. * May break local network name resolution.

51 Alternative Name Servers CloudFlare > Google DNS > Quad9 > OpenDNS >

52 Alternative Name Servers Recursive caching servers are built for speed. They peer with large ISPs to reduce query response times.

53 CloudFlare vs. Google From Comcast in Vancouver, WA

54 CloudFlare vs. Comcast

55 Alternative Name Servers

56 Security Through Name Filtering Step 3 is new They check a blacklist of known bad domains and refuse to answer the query if found. Source:

57 Interesting Use Cases DNS tricks for fun and profit.

58 DNS Realtime Blacklists Used by mail server operators to block connections from known sources of spam.

59 DNS Realtime Blacklists Mail server generates a hostname based on the IP address of the remote mail server and queries for the resulting hostname.

60 DNS Realtime Blacklists Good Remote Server: Query: zen.spamhaus.org

61 DNS Realtime Blacklists Bad Remote Server: Query: zen.spamhaus.org

62 DNS Realtime Blacklists Spamhaus Return Codes:

63 HOSTS Override Remember HOSTS.TXT? It s Still There

64 HOSTS Override Windows: c:\windows\system32\drivers\etc\hosts Linux & Mac: /etc/hosts

65 HOSTS Override Typically need administrator or root access to edit. Format: <IP> <Hostname> Example:

66 HOSTS Override Typically need administrator or root access to edit. Format: <IP> <Hostname> Example:

67 Chrome.localhost Google Chrome browser will auto-resolve any.localhost domain to Example: Great for local web development and testing. Proposed as an Internet standard by Google. See:

68 Side Note About Localhost Most people know that is the loopback address. It loops traffic back inside the network stack to your own computer. Useful for local testing and development.

69 Side Note About Localhost Most people don t know that ANY IPv4 address beginning with 127 is included in the loopback address space. This means that also loops back to your own computer. Can be useful for separating local development resources. See RFC #6890 Special-Purpose IP Address Registries at

70 Reverse DNS DNS can also resolve IP addresses back to hosts. Remember that format for realtime blacklists? <ip.reversed>.<blacklist.domain> Example: zen.spamhaus.org

71 Reverse DNS There is a special domain we can query using the same format to get a host name from an IP address. <ip.reversed>.in-addr.arpa Example: in-addr.arpa

72 Reverse DNS IP: Query: in-addr.arpa * Note we query for the PTR record type here, not for an A record.

73 Reverse DNS Mail servers usually check for a reverse DNS entry matching the HELO/EHLO signal from the remote mail server as a security check against spammers.

74 DNS in Docker Docker overrides certain files that control the network within a bridged container: /etc/hostname /etc/hosts /etc/resolv.conf

75 DNS in Docker By default, Docker will set the Container to use the same DNS resolver(s) used by the host system (non-localhost addresses). If there aren t any, it will append the Google public servers at and

76 DNS in Docker For hosts to talk to one another you d need to use the link= parameter to create a named alias which would then be inserted into each container s /etc/hosts file for resolution. This is considered legacy so I won t cover it here. The preferred approach now is user-defined networks within Docker.

77 DNS in Docker For user-defined networks, Docker containers have a special stub resolver. The Docker host runs its own DNS Server for user-defined networks. It s at

78 Service Discovery SRV records act like MX records, but for any service that needs to be found. Windows Active Directory uses these to locate things like domain controllers.

79 Service Discovery Domain Controllers are listed in Windows DNS: _ldap._tcp.dc._msdcs.example.local

80 Service Discovery Domain Controllers are listed in Windows DNS:

81 Service Discovery If you re joined to a Windows domain that isn t delegated from a public domain name, don t change the DNS resolver or things will break. This should be locked down by Group Policy anyway if you re on a corporate network

82 And so much more Dynamic DNS and DHCP Registration DNSSEC Secure DNS Records DNS Attacks and Defenses Botnet command and control Amplification attacks Onion routing and name resolution

83 But we re out of time...

84 Thanks! Justin Scott -- IT Specialist Operated DtDNS from IT Director at Smart Communications Special thanks to Oregon SQL for inviting me!

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

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

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

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

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

Root Servers. Root hints file come in many names (db.cache, named.root, named.cache, named.ca) See root-servers.org for more detail

Root Servers. Root hints file come in many names (db.cache, named.root, named.cache, named.ca) See root-servers.org for more detail What is DNS? Systems to convert domain names into ip addresses: For an instance; www.tashicell.com 118.103.136.66 Reverse: 118.103.136.66 www.tashicell.com DNS Hierarchy Root Servers The top of the DNS

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

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

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

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

Protocol Classification

Protocol Classification DNS and DHCP TCP/IP Suite Suite of protocols (not just TCP and IP) Main protocols TCP and UDP at the Transport Layer, and IP at the Network Layer Other protocols ICMP, ARP, Telnet, Ftp, HTTP, SMTP, SNMP

More information

CSE 265: System & Network Administration

CSE 265: System & Network Administration CSE 265: System & Network Administration DNS The Domain Name System History of DNS What does DNS do? The DNS namespace BIND software How DNS works DNS database Testing and debugging (tools) DNS History

More information

Oversimplified DNS. ... or, even a rocket scientist can understand DNS. Step 1 - Verify WHOIS information

Oversimplified DNS. ... or, even a rocket scientist can understand DNS. Step 1 - Verify WHOIS information Oversimplified DNS... or, even a rocket scientist can understand DNS Step 1 - Verify WHOIS information GOALS: Make sure that WHOIS reports every name server you have, and doesn't report any that aren't

More information

Domain Name System.

Domain Name System. Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith Vertanen Fall 2011 Overview Final project + presentation Some TCP and UDP experiments Domain Name System (DNS) Hierarchical name space Maps

More information

Lesson 9: Configuring DNS Records. MOAC : Administering Windows Server 2012

Lesson 9: Configuring DNS Records. MOAC : Administering Windows Server 2012 Lesson 9: Configuring DNS Records MOAC 70-411: Administering Windows Server 2012 Overview Exam Objective 3.2: Configure DNS Records Configuring DNS Record Types Using the DNSCMD Command to Manage Resource

More information

Manage Your DNS In The Cloud Get Started With Route 53

Manage Your DNS In The Cloud Get Started With Route 53 Manage Your DNS In The Cloud Get Started With Route 53 Expected Learning Manage DNS In The Cloud With Route 53 By the end of this section, you should be able to: Understand the basics of DNS Describe AWS

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

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

DNS & Iodine. Christian Grothoff.

DNS & Iodine. Christian Grothoff. DNS & Iodine christian@grothoff.org http://grothoff.org/christian/ The Domain Name System is the Achilles heel of the Web. Tim Berners-Lee 1 DNS: Domain Name System Unique Distributed Database Application-layer

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

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

RHCE BOOT CAMP BIND. Wednesday, November 28, 12

RHCE BOOT CAMP BIND. Wednesday, November 28, 12 RHCE BOOT CAMP BIND CONFIG FILES BIND basically has two types of configuration files: BIND configuration file, specific to BIND and it s features Database files, or zone files, which contain DNS resource

More information

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

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

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

DNS and HTTP. A High-Level Overview of how the Internet works DNS and HTTP A High-Level Overview of how the Internet works Adam Portier Fall 2017 How do I Google? Smaller problems you need to solve 1. Where is Google? 2. How do I access the Google webpage? 3. How

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

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

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport 1 Outline Introduction Name Space concepts Domain Name Space

More information

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

Welcome! Acknowledgements. Introduction to DNS. cctld DNS Workshop October 2004, Bangkok, Thailand Welcome! cctld DNS Workshop 8-11 October 2004, Bangkok, Thailand Champika Wijayatunga, APNIC Acknowledgements Bill Manning Ed Lewis Joe Abley Olaf M. Kolkman EP.NET Introduction to

More information

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

DNS / DNSSEC Workshop. bdnog November 2017, Dhaka, Bangladesh DNS / DNSSEC Workshop bdnog7 19-22 November 2017, Dhaka, Bangladesh Issue Date: 03 November 2015 Revision: 2.0-draft4 Overview DNS Overview BIND DNS Configuration Recursive and Forward DNS Reverse DNS

More information

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

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M. 16-20 July 2005, Thimphu, Bhutan In conjunction with SANOG VI DNS Concepts Acknowledgements Bill Manning Ed Lewis Joe Abley Olaf M. Kolkman NeuStar 1 Purpose of naming Addresses are used to locate objects

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

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

Is Your Caching Resolver Polluting the Internet?

Is Your Caching Resolver Polluting the Internet? Is Your Caching Resolver Polluting the Internet? Duane Wessels The Measurement Factory, and CAIDA wessels@measurement-factory.com September 2004 SIGCOMM 2004 NetTs 0 The Measurement Factory A Disclaimer

More information

The Domain Name System

The Domain Name System 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

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

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. 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

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. 2.1 Install and configure the DNS server. SEED Labs Local DNS Attack Lab 1

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. 2.1 Install and configure the DNS server. SEED Labs Local DNS Attack Lab 1 SEED Labs Local DNS Attack Lab 1 Local DNS Attack Lab Copyright c 2006-2015 Wenliang Du, Syracuse University. The development of this document is partially funded by the National Science Foundation s Course,

More information

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

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. 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

More information

How to Add Domains and DNS Records

How to Add Domains and DNS Records Configure the Barracuda NextGen X-Series Firewall to be the authoritative DNS server for your domains or subdomains to take advantage of Split DNS or dead link detection. Step 1. Make the X-Series Firewall

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

How to Configure the DNS Server

How to Configure the DNS Server Make the Barracuda Link Balancer an Authoritative DNS host and configure the DNS Server for inbound load balancing. Step 1. Enable Authoritative DNS Enable Authoritative DNS on the Barracuda Link Balancer

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 Management with Blue Cat Networks at PSU

DNS Management with Blue Cat Networks at PSU DNS Management with Blue Cat Networks at PSU Network and System Administrators at Penn State can make their own DNS changes, live, using the Blue Cat Proteus web-based interface. Proteus will be used by

More information

Configuring DNS. Finding Feature Information

Configuring DNS. Finding Feature Information The Domain Name System (DNS) is a distributed database in which you can map hostnames to IP addresses through the DNS protocol from a DNS server. Each unique IP address can have an associated hostname.

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

Services: DNS domain name system

Services: DNS domain name system Services: DNS domain name system David Morgan Buying numbers and names numbers are IP addresses you buy them from an ISP the ISP makes sure those addresses go to your place the names are domain names you

More information

CS519: Computer Networks. Lecture 6: Apr 5, 2004 Naming and DNS

CS519: Computer Networks. Lecture 6: Apr 5, 2004 Naming and DNS : Computer Networks Lecture 6: Apr 5, 2004 Naming and DNS Any problem in computer science can be solved with another layer of indirection David Wheeler Naming is a layer of indirection What problems does

More information

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

IPv6 Support in the DNS. Athanassios Liakopoulos 6DEPLOY IPv6 Training, Skopje, June 2011 IPv6 Support in the DNS Athanassios Liakopoulos (aliako@grnet.gr) 6DEPLOY IPv6 Training, Skopje, June 2011 Copy Rights This slide set is the ownership of the 6DEPLOY project via its partners The Powerpoint

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

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

Web Portal User Manual for

Web Portal User Manual for Web Portal User Manual for Copyright 2009 Afilias Limited Contents 1. Introduction... 1 1.1 About Afilias Managed DNS Service... 1 1.2 Afilias Managed DNS Service Website Help... 1 1.3 Support... 2 2.

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

The Domain Name System

The Domain Name System 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

More information

Fixing URL-based Redirect Errors for AWS Route 53 and S3

Fixing URL-based Redirect Errors for AWS Route 53 and S3 Fixing URL-based Redirect Errors for AWS Route 53 and S3 Many of the typical DNS providers offer what we call URL-based redirects. This is something where a 301 HTTP response is applied to the DNS query

More information

You Should Delete Dns Delegations In The Parent Zone

You Should Delete Dns Delegations In The Parent Zone You Should Delete Dns Delegations In The Parent Zone Currently I'm at the step where I should decommission one Server 2008 DC. It's going to remove the zone records for that DC from that DC and any references

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

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

Internet Engineering Task Force (IETF) Request for Comments: 7706 Category: Informational ISSN: November 2015 Internet Engineering Task Force (IETF) Request for Comments: 7706 Category: Informational ISSN: 2070-1721 W. Kumari Google P. Hoffman ICANN November 2015 Decreasing Access Time to Root Servers by Running

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

Based on Brian Candler's materials ISOC CCTLD workshop

Based on Brian Candler's materials ISOC CCTLD workshop Based on Brian Candler's materials ISOC CCTLD workshop Easier for people to remember Computers may be moved between networks, in which case their IP address will change A centrally maintained file, distributed

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

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 2016 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Presentation 1 Application-Layer Protocol Topic Approval PAST DUE Presentations Sept 22 nd, Sept 29 th, Oct

More information

Re-engineering the DNS One Resolver at a Time. Paul Wilson Director General APNIC channeling Geoff Huston Chief Scientist

Re-engineering the DNS One Resolver at a Time. Paul Wilson Director General APNIC channeling Geoff Huston Chief Scientist Re-engineering the DNS One Resolver at a Time Paul Wilson Director General APNIC channeling Geoff Huston Chief Scientist 1 In this presentation I ll talk about the DNS, and the root server infrastructure

More information

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

S Computer Networks - Spring What and why? Structure of DNS Management of Domain Names Name Service in Practice Outline What and why? Structure of DNS Management of Domain Names Name Service in Practice 188lecture12.ppt Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo 1 2 Need Network addresses are numbers Addresses

More information

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

04 Identifiers. UUID URI Format Characteristics. Coulouris, Ch 9 rfc3986 Ahmed, 2005 Subharthi, 2009 04 Identifiers UUID URI Format Characteristics Coulouris, Ch 9 rfc3986 Ahmed, 2005 Subharthi, 2009 Resource identification All resources should have a name Resource without Identifier Can not be shared

More information

THE AUTHORITATIVE GUIDE TO DNS TERMINOLOGY

THE AUTHORITATIVE GUIDE TO DNS TERMINOLOGY Ebook: THE AUTHORITATIVE GUIDE TO DNS TERMINOLOGY From A Record & DNS to Zones 603 668 4998 Your Master List of Key DNS Terms As more users and more online services (sites, microservices, connected things,

More information

phoenixnap Client Portal

phoenixnap Client Portal phoenixnap Client Portal 1 phoenixnap Client Portal Disclaimer Please be aware that DNS management can be a confusing and complicated system. If you get something wrong, you might experience problems such

More information

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

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall CSE 123b CSE 123b Communications Software Spring 2003 Lecture 11: Domain Name System (DNS) Stefan Savage Some pictures courtesy David Wetherall & Srini Seshan Where we ve been & where we re going Low-level

More information

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

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames CSE 123b Communications Software Spring 2003 Lecture 11: Domain Name System (DNS) Stefan Savage Where we ve been & where we re going Low-level networking (so far) Internetworking architecture Packet Forwarding

More information

How to Configure DNS Zones

How to Configure DNS Zones The Barracuda NG Firewall DNS configuration object contains two predefined zones: _template and '.' To be able to edit and specify DNS zones within the Barracuda NG Firewall DNS configuration, you must

More information

CS 3640: Introduction to Networks and Their Applications

CS 3640: Introduction to Networks and Their Applications CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 18: The Application Layer II (Credit: Christo Wilson @ NEU) Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain

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

Overview. Last Lecture. This Lecture. Next Lecture. Scheduled tasks and log management. DNS and BIND Reference: DNS and BIND, 4 th Edition, O Reilly

Overview. Last Lecture. This Lecture. Next Lecture. Scheduled tasks and log management. DNS and BIND Reference: DNS and BIND, 4 th Edition, O Reilly Last Lecture Overview Scheduled tasks and log management This Lecture DNS and BIND Reference: DNS and BIND, 4 th Edition, O Reilly Next Lecture Address assignment (DHCP) TELE 301 Lecture 11: DNS 1 TELE

More information

DNS / DNSSEC Workshop. bdnog May 2017, Bogra, Bangladesh

DNS / DNSSEC Workshop. bdnog May 2017, Bogra, Bangladesh DNS / DNSSEC Workshop bdnog6 19-23 May 2017, Bogra, Bangladesh Issue Date: 03 November 2015 Revision: 2.0-draft4 Overview DNS Overview BIND DNS Configuration Recursive and Forward DNS Reverse DNS 2 Overview

More information

DNS Level 100. Rohit Rahi November Copyright 2018, Oracle and/or its affiliates. All rights reserved.

DNS Level 100. Rohit Rahi November Copyright 2018, Oracle and/or its affiliates. All rights reserved. DNS Level 100 Rohit Rahi November 2018 1 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

DNS & DHCP CONFIGURATION

DNS & DHCP CONFIGURATION WELCOME DNS & DHCP CONFIGURATION Group Members Anmol Nazakat Ameena Fatima Shakeel ur Rehman Gulraiz Azam Irfan Ullah 1 2 3 4 5 BSIT-F14-E78 BSIT-F14-E100 BSIT-F14-E66 BSIT-F14-E69 BSIT-F14-E79 3 Today

More information

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

Information Network I: The Application Layer. Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique Information Network I: The Application Layer Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique Outline Domain Name System World Wide Web and HTTP Content Delivery Networks

More information

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

DNS Session 1: Fundamentals. Based on Brian Candler's materials ISOC CCTLD workshop DNS Session 1: Fundamentals Based on Brian Candler's materials ISOC CCTLD workshop Computers use IP addresses. Why do we need names? Easier for people to remember Especially true for IPv6 Computers may

More information

DOWNLOAD PDF RESOLVING HIGH-LEVEL MACHINE NAMES

DOWNLOAD PDF RESOLVING HIGH-LEVEL MACHINE NAMES Chapter 1 : resolving host names VMware Communities DNS works fine for all of the machines in our network. Except for a handful. These machines are on a subnet. Only half of the machines on this subnet

More information

Resource Records APPENDIXA

Resource Records APPENDIXA APPENDIXA Resource Records Resource records comprise the data within a DNS zone. There is no fixed limit to the number of resource records a zone can own. In general, there can be zero, one, or more resource

More information

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)

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) D Session 2: D cache operation and D debugging How caching works (1) If we've dealt with this query before recently, answer is already in the cache - easy! Joe Abley AfNOG 2006 workshop Resolver Query

More information

Network Protocols. DNS Intel *slightly modified public version of another talk. TDC 375 Autumn 2009/10 John Kristoff DePaul University 1

Network Protocols. DNS Intel *slightly modified public version of another talk. TDC 375 Autumn 2009/10 John Kristoff DePaul University 1 Network Protocols DNS Intel *slightly modified public version of another talk TDC 375 Autumn 2009/10 John Kristoff DePaul University 1 What's in a name? dns research01.cti.depaul.edu. TDC 375 Autumn 2009/10

More information

ROOT SERVERS MANAGEMENT AND SECURITY

ROOT SERVERS MANAGEMENT AND SECURITY ROOT SERVERS MANAGEMENT AND SECURITY WSIS African regional meeting 01/29/05 ALAIN PATRICK AINA aalain@trstech.net What is DNS(1)? Addresses are used to locate objects Names are easier to remember than

More information

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

DNS and BIND Rock Eagle Computing Conference October 27, 2000 CL 10/25/00 DNS and BIND 2000 Rock Eagle Computing Conference October 27, 2000 CL 10/25/00 1 The ARPANET ARPA: Advanced Research Projects Agency Part of the Department of Defense Funds defense-related projects In

More information

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

04 Identifiers UUID. Coulouris, Ch 9 URI. rfc3986 Format. Ahmed, 2005 Characteristics. Subharthi, 2009 04 Identifiers UUID Coulouris, Ch 9 URI rfc3986 Format Ahmed, 2005 Characteristics Subharthi, 2009 Resource identification All resources should have a name Resource without Identifier Can not be shared

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

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

DNS. David Malone. 19th October 2004

DNS. David Malone. 19th October 2004 DNS David Malone 19th October 2004 1 Names vs. Addresses Computers like addresses eg. 134.226.81.11. People prefer names salmon.maths.tcd.ie. Need a way to translate. walton.maths.tcd.ie close to salmon.maths.tcd.ie.

More information

Name Services and DNS

Name Services and DNS In Academic Affiliation with Name Services and DNS Distributed Computer Systems Lecture 3 Module Leader: Mrs. Bobby Rishikesh 1 Contents What is a name service? SNS: A Simple Name Service DNS: Domain Name

More information

CSC 574 Computer and Network Security. DNS Security

CSC 574 Computer and Network Security. DNS Security CSC 574 Computer and Network Security DNS Security Alexandros Kapravelos kapravelos@ncsu.edu (Derived from slides by Will Enck and Micah Sherr) A primer on routing Routing Problem: How do Alice s messages

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

Domain Name Service. FAQs. Issue 07 Date HUAWEI TECHNOLOGIES CO., LTD.

Domain Name Service. FAQs. Issue 07 Date HUAWEI TECHNOLOGIES CO., LTD. Issue 07 Date 2019-03-05 HUAWEI TECHNOLOGIES CO., LTD. Copyright Huawei Technologies Co., Ltd. 2019. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any

More information

Writing Assignment #1. A Technical Description for Two Different Audiences. Yuji Shimojo WRTG 393. Instructor: Claudia M. Caruana

Writing Assignment #1. A Technical Description for Two Different Audiences. Yuji Shimojo WRTG 393. Instructor: Claudia M. Caruana Writing Assignment #1 A Technical Description for Two Different Audiences Yuji Shimojo WRTG 393 Instructor: Claudia M. Caruana November 9, 2016 1 Introduction I work in IT technical support at a web design

More information

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer CPSC 360 Network Programming Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer Systems Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu

More information

Naming. CS 475, Spring 2018 Concurrent & Distributed Systems. Slides by Luís Pina

Naming. CS 475, Spring 2018 Concurrent & Distributed Systems. Slides by Luís Pina Naming CS 475, Spring 2018 Concurrent & Distributed Systems Slides by Luís Pina (lpina2@gmu.edu) 1 Domain Name System Name Discovery 2 What happens after typing the name of the host? The internet routes

More information

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Tasks (Part I): Setting Up a Local DNS Server. SEED Labs Local DNS Attack Lab 1

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Tasks (Part I): Setting Up a Local DNS Server. SEED Labs Local DNS Attack Lab 1 SEED Labs Local DNS Attack Lab 1 Local DNS Attack Lab Copyright 2018 Wenliang Du, Syracuse University. The development of this document was partially funded by the National Science Foundation under Award

More information

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

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses EECS 122: Introduction to Computer Networks DNS and WWW Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776 Internet

More information

Resource Records APPENDIX

Resource Records APPENDIX APPENDIX A Resource records comprise the data within a DNS zone. There is no fixed limit to the number of resource records a zone can own. In general, there can be zero, one, or more resource records of

More information