DNS. Computer networks - Administration 1DV202. fredag 30 mars 12



Similar documents
- Domain Name System -

Copyright

ECE 4321 Computer Networks. Network Programming

DNS. Computer Networks. Seminar 12

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Concept. DNS - Domain Name System

Application Protocols in the TCP/IP Reference Model

How to Add Domains and DNS Records

Domain Name Server. Training Division National Informatics Centre New Delhi

How to set up the Integrated DNS Server for Inbound Load Balancing

DNS Session 4: Delegation and reverse DNS. Joe Abley AfNOG 2006 workshop

Domain Name System (DNS) Fundamentals

Understanding DNS (the Domain Name System)

How to Configure the Windows DNS Server

Introduction to DNS CHAPTER 5. In This Chapter

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Lecture 2 CS An example of a middleware service: DNS Domain Name System

Section 1 Overview Section 2 Home... 5

DNS : Domain Name System

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley

Understand Names Resolution

Goal of this session

IPv6 support in the DNS

DNS Domain Name System

netkit lab dns Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version Author(s)

Domain Name System. CS 571 Fall , Kenneth L. Calvert University of Kentucky, USA All rights reserved

Configuring the BIND name server (named) Configuring the BIND resolver Constructing the name server database files

Overview. Principles Creating reverse zones Setting up nameservers Reverse delegation procedures IPv6 Reverse DNS

Installing and Setting up Microsoft DNS Server

Talk-101 User Guide. DNSGate

Domain Name System. 188lecture12.ppt. Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo

DNS + DHCP. Michael Tsai 2015/04/27

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System

Domain Name Servers. Domain Types WWW host names. Internet Names. COMP476 Networked Computer Systems. Domain Name Servers

Networking Domain Name System

The Domain Name System

How to Configure Split DNS

How To Guide Edge Network Appliance How To Guide:

Networking Domain Name System

The Domain Name System

HTG XROADS NETWORKS. Network Appliance How To Guide: DNS Delegation. How To Guide

Windows 2008 Server. Domain Name System Administración SSII

THE DOMAIN NAME SYSTEM DNS

Domain Name System. Heng Sovannarith

what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

IPv6 Support in the DNS. Workshop Name Workshop Location, Date

APNIC elearning: Reverse DNS for IPv4 and IPv6

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Services: DNS domain name system

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

Introduction to DNS and Application Issues related to DNS. Kirk Farquhar

Using Webmin and Bind9 to Setup DNS Sever on Linux

How to Configure DNS Zones

The Use of DNS Resource Records

DNS and Interface User Guide

API of DNS hosting. For DNS-master and Secondary services Table of contents

CDN SERVICE ICSS ROUTE MANAGED DNS DEUTSCHE TELEKOM AG INTERNATIONAL CARRIER SALES AND SOLUTIONS (ICSS)

Module 2. Configuring and Troubleshooting DNS. Contents:

Internet-Praktikum I Lab 3: DNS

Automated domain name registration: DNS background information

Use Domain Name System and IP Version 6

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1

Simple DNS Configuration Example

My Services Online Service Support. User Guide for DNS and NTP services

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

CSIS 3230 Computer Networking Principles, Spring 2012 Lab 7 Domain Name System (DNS)

Part 5 DNS Security. SAST01 An Introduction to Information Security Martin Hell Department of Electrical and Information Technology

CS3250 Distributed Systems

Switching Your DNS WiredTree

Introduction to the Domain Name System

Distributed Systems. 22. Naming Paul Krzyzanowski. Rutgers University. Fall 2013

Networking Domain Name System

Agenda. Network Services. Domain Names. Domain Name. Domain Names Domain Name System Internationalized Domain Names. Domain Names & DNS

2 HDE Controller X DNS Server Manual

How To Manage Dns On An Elfiq Link Load Balancer (Link Balancer) On A Pcode (Networking) On Ipad Or Ipad (Netware) On Your Ipad On A Ipad At A Pc Or Ipa

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!!

The Domain Name System (DNS)

Clear and Present Danger Increase in Number of DNS AAAA Queries

DNS Domain Name System

Application and service delivery with the Elfiq idns module

The Erado Hosted Messaging Installation Process Erado Hosted Mail Services with Domain Transfer

Chapter 23 The Domain Name System (DNS)

DNS based Load Balancing with Fault Tolerance

Understanding DNS By Robert Sterler

DNS and BIND. David White

Hostnames. HOSTS.TXT was a bottleneck. Once there was HOSTS.TXT. CSCE515 Computer Network Programming. Hierarchical Organization of DNS

Conexim DNS Administrator s Guide

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, DNS & IPv6.

DNS: How it works. DNS: How it works (more or less ) DNS: How it Works. Technical Seminars Spring Paul Semple psemple@rm.

Operational Problems in IPv6: Fallback and DNS issues

Copyright International Business Machines Corporation All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure

Enterprise Architecture Office Resource Document Design Note - Domain Name System (DNS)

DNS - Domain Name System

How-to: DNS Enumeration

Redelegate your domain to Office 365

Building a Linux IPv6 DNS Server

Creating a master/slave DNS server combination for your Grid Infrastructure

Glossary of Technical Terms Related to IPv6

Transcription:

DNS Computer networks - Administration 1DV202

DNS History Who needs DNS? The DNS namespace How DNS works The DNS database The BIND software Server and client configuration

The history of DNS RFC 882 and 883 (1983) and RFC 1034 and 1035 (1987) BIND Other DNS implementations

Who needs DNS? DNS defines A hierarchial namespace for hosts and IP addresses A distributed database of hostname and address information A resolver to query this database Improved routing for email A mechanism for finding services on a network A protocol for exchanging naming information

The DNS namespace Tree hierarchy Each domain represents a chunk of the namespace Top level domains/country codes Domains Hosts/second level domains Hosts/third level domains

DNS tree com net se de ru org ch... Top level domains and country codes domain host cname sr lnu vaxjo kalmar svt aftonbladet... se domains dfm hv ny112x01 em02 stu02 afrodite... hosts and under domains to lnu.se www web01 cs fileserver... hosts and under domains to dfm.lnu.se

Masters of their domains Various organizations are masters of the top level domains Your own domain must be registered with the correct organization Either you can use a DNS server offered by an ISP (or domain registrator) or you can run your own A domain must always be served by two DNS servers (RFC1219)

How DNS works Delegation DNS queries Caching and efficency The extended DNS protocol

The DNS database Resource records DNS record types SOA record NS record A (and AAAA) record PTR record MX record CNAME record Other records (LOC, SRV, TXT)

Server configuration Configuration files Zone data files

Server configuration Global span options { }; directory /var/cache/bind ; zone kalmar.se IN { type master; file db.kalmar.se ; }; Zone span

Zone management Name of zone Zone class Zone type File name zone kalmar.se IN { type master; file db.kalmar.se ; };

Data files for zones options { }; directory /var/cache/bind ;

Resource Records SOA Start Of Authority NS Name server A FQDN to IP address PTR IP address to FQDN CNAME Canonical name, alias

SOA - Start of authority Email to the person Name of the zone Zone class First name server in the zone responsible for the zone kalmar.se. IN SOA dns1.kalmar.se. dnsadmin.kalmar.se. ( 1 ; Serial number 3h ; Refresh 1h ; Retry 1w ; Expiration 1h ; Minimum )

NS - Name Servers kalmar.se. IN NS dns1.kalmar.se. kalmar.se. IN NS dns2.kalmar.se.

A - A host address dns1.kalmar.se. IN A 192.168.0.1 kvarnholmen.kalmar.se. IN A 192.168.0.10

PTR - Pointer 1.0.168.192.in-addr.arpa. IN PTR dns1.kalmar.se. 10.0.168.192.in-addr.arpa. IN PTR kvarnholmen.kalmar.se.

CNAME - Canonical name kvarnholmen.kalmar.se. IN CNAME www.kalmar.se.

Example - kalmar.se The name servers are found on 192.168.0.1 and 192.168.0.2 The names of these servers are dns1 and dns2 The mail server for the domain is found at 192.168.0.8 The first mail server priority is 10 A secondary mail server is found at 192.168.0.9 The second mail server priority is 20 The IP address space is 192.168.0.0/24

Configuration of the primary name server The zone data options { }; directory /var/cache/bind ; files are located in /var/cache/bind The name server will be the primary server for both forward and reverse lookups zone kalmar.se IN { type master; file db.kalmar.se ; }; zone 0.168.192.in-addr.arpa IN { type master; file rev.kalmar.se ; }; File names for the two zones

Forward Lookup Zone $TTL 3h kalmar.se. IN SOA dns1.kalmar.se. dnsadmin.kalmar.se. ( 4 ; Serial number 10800 ; Refresh 3600 ; Retry 604800 ; Expiration 3600 ; Minimum ) kalmar.se. IN NS dns1.kalmar.se. kalmar.se. IN NS dns2.kalmar.se. dns1.kalmar.se. IN A 192.168.0.1 dns2.kalmar.se. IN A 192.168.0.2 kalmar.se. IN MX 10 mail1.kalmar.se. kalmar.se. IN MX 20 mail2.kalmar.se. mail1.kalmar.se. IN A 192.168.0.8 mail2.kalmar.se. IN A 192.168.0.9

Reverse Lookup Zone $TTL 3h 0.168.192.in-addr.arpa. IN SOA dns1.kalmar.se. dnsadmin.kalmar.se. ( 4 ; Serial number 10800 ; Refresh 3600 ; Retry 604800 ; Expiration 3600 ; Minimum ) 0.168.192.in-addr.arpa. IN NS dns1.kalmar.se. 0.168.192.in-addr.arpa. IN NS dns2.kalmar.se. 1.0.168.192.in-addr.arpa. IN PTR dns1.kalmar.se. 2.0.168.192.in-addr.arpa. IN PTR dns2.kalmar.se. 8.0.168.192.in-addr.arpa. IN PTR mail1.kalmar.se. 9.0.168.192.in-addr.arpa. IN PTR mail2.kalmar.se. named-checkzone

Configure a secondary name server zone kalmar.se IN { type slave; file slave.db.kalmar.se ; masters { 192.168.0.1; }; };

Updating the secondary server kalmar.se. IN SOA dns2.kalmar.se. dnsadmin.kalmar.se ( 1 ; Serial number 3h ; Refresh 1h ; Retry 1w ; Expiration 1h ; Minimum ) The name server will try to refresh the zone every three hours

DNS Notify (Zone Change Notification) Master 2 Slave 1 3 4 5

DNS Notify forts. Global level options { notify no; }; Zone level zone kalmar.se { notify no; }; Name servers not belonging to a zone zone kalmar.se { also-notify { 10.0.0.1; 10.0.0.2; }; };

Client configuration /etc/host.conf /etc/resolv.conf 1. Name request 2. DNS question Application resolver DNS 4. Answer to name request 3. DNS respone

/etc/host.conf order hosts,nis,bind

/etc/resolv.conf domain search nameserver sortlist domain kalmar.se search kalmar.se cslab.net nameserver 10.0.0.1 sortlist 10.0.0.0/255.0.0.0 172.16.0.0/255.255.0.0