Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002.

Slides:



Advertisements
Similar presentations
Sergei Komarov. DNS  Mechanism for IP hostname resolution  Globally distributed database  Hierarchical structure  Comprised of three components.
Advertisements

Web Server Administration
2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.
DNS Domain name server – a server to translate IP aliases to addresses As you know, IP (internet protocol) works by providing every Internet machine with.
DNS. DNS is a network service that enables clients to resolve names to IP address and vice-versa. Allows machines to be logically grouped by domain names.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 2: Name Resolution and DNS.
Chapter 9: Configuring DNS for Active Directory
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 8: Managing and Troubleshooting DNS.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
DNS Domain Name Service References: Wikipedia 1.
Chapter 10 Configuring DNS
Domain Name Services Oakton Community College CIS 238.
Configuring and Managing the DNS Server Role Lesson 4.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
© Wiley Inc All Rights Reserved. MCSE: Windows Server 2003 Active Directory Planning, Implementation, and Maintenance Study Guide, Second Edition.
1 Network Administration Module 6 Domain Name Service (DNS)
TELE 301 Lecture 11: DNS 1 Overview Last Lecture –Scheduled tasks and log management This Lecture –DNS Next Lecture –Address assignment (DHCP)
Domain Names System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the.
Implementing DNS Module D 7: Implementing DNS
IIT Indore © Neminath Hubballi
1 Objectives Discuss the basics of the Domain Name System (DNS) and its terminology Configure DNS clients Install a standard DNS server on Server 2008.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 17 Domain Name System (DNS)
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
DNS: Domain Name System
Module 2: Implementing DNS to Support Active Directory
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Chapter 17 Domain Name System
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Objectives Discuss the basics of the Domain Name System (DNS) and its terminology Configure DNS clients Install a standard DNS server on Server 2008 Create.
1 Kyung Hee University Chapter 18 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Configuring and Troubleshooting Domain Name System
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
Configuring Name Resolution and Additional Services Lesson 12.
Windows Server 2003 DNS 安裝設定與管理維護 林寶森
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Linux Operations and Administration
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
2/26/2003 Lecture 4 Computer System Administration Lecture 4 Networking Startup/DNS.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Internet Naming Service: DNS* Chapter 5. The Name Space The name space is the structure of the DNS database –An inverted tree with the root node at the.
Configuring and Managing the DNS Server Role Lesson 4.
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY IT375 Window Enterprise Administration Course Name – IT Introduction to Network Security Instructor.
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley Setting up an Authoritative Name Server.
Using Digital Signature with DNS. DNS structure Virtually every application uses the Domain Name System (DNS). DNS database maps: –Name to IP address.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
DNS and Inbound Load Balancing
DNS Domain name server a server to translate IP aliases to addresses
Module 5: Resolving Host Names by Using Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
Configuring and Troubleshooting DNS
Configuring and Managing the DNS Server Role
Presentation transcript:

Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002

What does DNS provide? A hierarchical namespace for hosts and IP addresses A host table implemented as a distributed database A “resolver” – library routines that query this database Improved routing for A mechanism for finding services on a network A protocol for exchanging naming information

BIND Berkeley Internet Name Domain System An implementation of DNS for UNIX Maintained by the Internet Software Consortium Has been ported to Windows NT

DNS Namespace There are two types of top-level domains (TLDs): –Generic Top-Level Domains (gTLDs) such as com, org, and net describe organizational and political structure and are used primarily within the United States –Country codes (ccTLDs) are used outside the United States

Naming Tree The forward-mapping branch maps hostnames to IP addresses and uses forward zone files. The reverse-mapping branch maps IP addresses back to hostnames and uses reverse zone files.

Domain Names Domain names are case insensitive. An Internet host’s fully qualified name is formed by appending its domain name to its hostname. Within the DNS system, fully qualified names are terminated by a dot, but this dot is generally hidden from ordinary users. Names without dots terminating them are relative addresses.

Components of BIND A daemon called named that answers queries Library routines that resolve host queries by contacting the servers of the DNS distributed database Command-line interfaces to DNS: nslookup, dig, and host

named It answers queries about hostnames and IP addresses If it does not know the answer to a query, it asks other servers and caches the response It performs “zone transfers” to copy data among the servers of a domain

Authoritative and Caching-only Servers Each zone has one master name server that keeps the official copy of the zone’s data on disk. A slave server gets its data from the master server through a “zone transfer” operation. A stub server is a slave that loads only the NS records from the master. A caching-only name server loads the addresses of the servers for the root domain from a startup file and accumulates the rest of its data by caching answers to the queries it resolves.

Recursive and Nonrecursive Servers If a nonrecursive server has the asnwer to a query cached from a previous transaction or is authoritative for the domain to which the query pertains, it provides the appropriate response. Otherwise, instead of returning the real answer, it returns a referral to the authoritative servers of another domain that are more likely to know the answer. A recursive server returns only real answers or error messages. It follows referrals itself, relieving the client of the responsibility.

Negative Caching Perhaps 60% of DNS queries are for non- existent data Negative caching saves answers of the following types: –No host or domain matches the name queried –The type of data requested does not exist for this host –The server to ask is not responding –The server is unreachable because of network problems

Resolver Configuration Each host on the network has a file called /etc/resolv.conf that lists the DNS servers the host should query. Format: search domainname... nameserver ipaddress Example: search cs.colorado.edu colorado.edu ee.colorado.edu nameserver ; ns nameserver ; piper nameserver ; anchor

Hardware Requirements BIND is a memory hog. IPv6 and DNSSEC in BIND 9 are CPU-intensive. To determine if a server has enough memory, let it run for awhile and watch the size of the named process. It will take a week or two to converge on a stable size at which old cache records are expiring at about the same rate as new ones are being inserted.

Configuration Files The complete configuration for named consists of the config file, the hints file, and, for master servers, the zone data files that contain address mappings for each host. The configuration file specifies the role (master, slave, or stub) of this host relative to each zone and the way in which it should get its copy of the resource records that make up the local part of the database.

Statement Types in named.conf include – Interpolates a file (e.g., trusted keys readable only by named) options – Sets global name server configuration options and defaults server – Specifies per-server options key – Defines authentication information acl – Defines access control lists zone – Defines a zone of resource records

Statement Types in named.conf trusted-keys – Uses preconfigured keys controls – Defines channels used to control the name server with ndc logging – Specifies logging categories and their destinations view – Defines a view of the namespace (BIND 9 only)

DNS Database A set of text files maintained by the system administrator on the domain’s master name server Contain two types of entries: –parser commands –resource records (RRs)

Zone Records SOA – Start of Authority – Defines a DNS zone of authority NS – Name Server – Identifies zone servers, delegates subdomains

Basic Records A – IPv4 Address – Name-to-address translation AAAA – Original IPv6 address – Now obsolete – DO NOT USE A6 – IPv6 Address – Name-to-IPv6-address translation (V9 only) PTR – Pointer – Address-to-name translation DNAME – Redirection – Redirection for reverse IPv6 lookups (V9 only) MX – Mail Exchanger – Controls routing

Security Records KEY – Public Key – Public key for DNS name NXT – Next – Used with DNSSEC for negative answers SIG – Signature – Signed, authenticated zone

Optional Records CNAME – Canonical Name – Nicknames or aliases for a host LOC – Location – Geographic location and extent RP – Responsible Person – Specifies per-host contact info SRV – Services – Gives locations of well-known services TXT – Text – Comments or untyped information

Commands in Zone Files $ORIGIN domain-name – Sets the origin for relative filenames $INCLUDE filename – The specified file is read into the database at the point of the directive $TTL default-ttl – Sets a default value for the time-to-live field of the records that follow it $GENERATE lots-of-args – Provides a simple way to generate a series of similar records

Updating Zone Files When you make a change to a domain (such as adding or deleting a host): –The data files on the master server must be updated –You must increment the serial number in the SOA record for the zone –Run ndc reload to signal named to pick up the changes

Security Features in named.conf allow-query (options, zone) – Who can query a zone or server allow-transfer (options, zone) – Who can request zone transfers allow-update (zone) – Who can make dynamic updates blackhole (options) – Which servers to ignore completely bogus (server) – Which servers should never be queried acl (various) – Access control lists

Transaction Signatures (TSIG) Developed by the IETF while DNSSEC was being specified Use a symmetric encryption scheme Use a shared-secret key that must be exchanged manually for every pair of servers that needs to communicate Not scalable to large networks

DNSSEC A set of DNS extensions that authenticate the origin of zone data and verify its integrity Uses public key cryptography Provides: –Key distribution by means of KEY resource records stored in the zone files –Origin verification for servers and data –Verification of the integrity of zone data

Testing and Debugging named provides highly configurable logging. It is possible to select the severity and type of messages logged. nslookup queries the DNS database dig is similar to nslookup, but has more sensible defaults, provides more information, and has a nicer user interface host is similar to dig but less verbose