AfNOG-2003 Domain Name System (DNS) Ayitey Bulley Setting up an Authoritative Name Server.

Slides:



Advertisements
Similar presentations
School of Electrical Engineering and Computer Science, 2004 Slide 1 Autonomic DNS Experiment Architecture, Symptom and Fault Identification.
Advertisements

Web Server Administration
February 2003slideset 1 Writing Zone Files Olaf M. Kolkman
DNS Session 4: Delegation and reverse DNS Joe Abley AfNOG 2006 workshop.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 7 Domain Name System.
February 2003slideset 1 Introduction to the DNS system Olaf M. Kolkman
DNS server & Client Objectives Contents
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.
Reverse DNS.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
Chapter 9: Configuring DNS for Active Directory
Chapter 4 - Lab DNS Configuration in Linux.  DNS Configuration in Linux Projects 4-1 through 4-3 Projects 4-4 deals with multiple domains  DNS Configuration.
Welcome! APNIC DNS Workshop February 2004, Kuala Lumpur, Malaysia In conjunction with APRICOT 2004.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
DNS Domain Name Service america.pcs.cnu.edu->
Recursive Server. Overview Recursive Service Root server list localhost in-addr.arpa named.conf.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
Module 12: Domain Name System (DNS)
The Domain Name System (DNS)
Reverse DNS. Overview Principles Creating reverse zones Setting up nameservers Reverse delegation procedures.
Domain Name Services Oakton Community College CIS 238.
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
Module 3 DNS Types.
New SA Training Topic 7: DNS and DHCP To implement the underlying basis for our organizations networking, we rely on two fundamental services  DNS – the.
Domain Names System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the.

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.
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002.
BIND THE DNS SERVER TO USE !. DNS Domain Name Services Name to IP resolving /etc/hosts /etc/resolv.conf.
Welcome! APNIC DNS Workshop January 2004, Bangalore, India In conjunction with the SANOG III and the South Asian IPv6 Summit.
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.
Module 2 Zone Files. Objective Understand the idea of a zone and how it relates to a domain name understand zone file structure Understand the major Resource.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
Domain Name System (DNS) Joe Abley AfNOG Workshop, AIS 2014, Djibouti Session 2: Resolver Operation and debugging.
CIS 192B – Lesson 2 Domain Name System. CIS 192B – Lesson 2 Types of Services Infrastructure –DHCP, DNS, NIS, AD, TIME Intranet –SSH, NFS, SAMBA Internet.
DNS server & Client Objectives –to learn how to setup dns servers Contents –An Introduction to DNS –How To Download and Install The BIND Packages –How.
Linux Operations and Administration
DNS - BIND9 Přednášející Vaše jméno. Master and caching name server options { directory "/var/named"; allow-transfer {“none”;}; }; zone "." { type hint;
Configuration of Authoritative Nameservice AfCHIX 2011 Blantyre, Malawi (based on slides from Brian Candler for NSRC)
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley
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.
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.
WHAT IS DNS??????????.
Domain Name System DPNM Lab. Seongho Cho
Monitoring, analyzing and cleaning DNS configuration errors across European NRENs Slavko Gajin University of Belgrade, Serbia
Welcome! APNIC DNS Workshop October 2004, Hong Kong Sponsored by HKedCity.
DNS Session 3: Configuration of Authoritative Nameservice Joe Abley AfNOG 2013, Lusaka, Zambia.
Configuration of Authoritative Nameservice ccTLD workshop November th 2007 Amman, Jordan based on slides from Brian Candler for NSRC.
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
Domain Name System: DNS
Created by : Ashish Shah, J.M.Patel College, Goregoan West
Unix System Administration
Configuration of Authoritative Nameservice
DNS and Bind Presenter David Wood
Domain Name System (DNS)
Introduction to the DNS system
Introduction to the DNS system
Presentation transcript:

AfNOG-2003 Domain Name System (DNS) Ayitey Bulley Setting up an Authoritative Name Server

AfNOG-2003 Objectives Write a valid zone file Explain how the SOA record is used The named.conf file –Configure a master nameserver for a domain –Configure a slave nameserver for a domain Choose a suitable secondary nameserver (RFC-2182) Reload a running nameserver and check the log files

AfNOG-2003 The Zone Data Files Most entries are called DNS resource records (RR) Resource records must start in the first column of a line. The order in which RRs appear though not a requirement are as follows:

AfNOG-2003 The Zone Data Files SOA records –Indicates authority for the zone NS records –Lists a name server for the zone Other records –A Name-to-address mapping –PTR Address-to-name mapping –CNAME Canonical name (for aliases)

AfNOG-2003 The Zone Data Files Comments make zone data files easier to read and understand Comments start with a semi-colon (;) and finish at the end of the line The nameserver ignores comments and blank lines.

AfNOG-2003 Setting the default TTL (RFC-2308) $TTL is used to set the default TTL for a zone It sets the TTL for all records in the file that follow it Nameservers supply this TTL in query responses, allowing other servers to cache the data for the TTL interval $TTL values are usually between 1-hour (1h) and 1-week (1w) $TTL is used for BIND version 8.2 and later.

AfNOG-2003 Structure of Resource Records Resource records consist of it’s name, it’s TTL, it’s class, it’s type and it’s RDATA TTL is a timing parameter IN class is widest used There are multiple types of RR records Everything behind the type identifier is called rdata Label ttl class type rdata IN A

AfNOG-2003 RRs in a Zone File Labelttlclasstyperdata ripe.net. 2h IN SOA ns.ripe.net. olaf.ripe.net. ( ; Serial 12h ; Refresh 12 hours 4h ; Retry 4 hours 4d ; Expire 4 days 2h ; Negative cache 2 hours ) ripe.net. 2h IN NS ns.ripe.net. ripe.net. 2h IN NS ns.eu.net. pinkie.ripe.net. 1h IN A host25.ripe.net. 1h IN A

AfNOG-2003 Resource Record: SOA Timing parameter Master server Contact address Serial number net IN SOA A.GTLD-SERVERS.net. nstld.verisign-grs.com. ( ; serial 30M; refresh 15M; retry 1W; expiry 1D ); neg. answ. ttl

AfNOG-2003 The named.conf file The named.conf file is the configuration file read when the named daemon starts up Is used to control the behavior of the named daemon

AfNOG-2003 Named.conf:- Master Config. For Domain options { directory "/etc/namedb"; }; /* Comment */ // Another Comment Style // zone "domain.com" { type master; file “m/domain.com.bak"; }; Domain Name Server Type Zone Data File

AfNOG-2003 Named.conf:- Slave Config. For Domain options { directory "/etc/namedb"; }; /* Comment */ // Another Comment Style // zone "domain.com" { type slave; file “s/domain.com.bak"; masters { ; }; }; Domain Name Server Type Zone Data File IP Address of Master

AfNOG-2003 Choice of Sec. Name Server (RFC-2182) See DNS Session 2

AfNOG-2003 Reloading a running server To reload a running server the ndc utility is used (BIND 8) E.G. # ndc reload

AfNOG-2003 Reload a running server & check the logs To reload a running server the ndc utility is used in BIND 8 E.G. # ndc reload # ndc reload afnogws.gh After reloading the server you should check for errors in the log files # grep named /var/log/messages

AfNOG-2003 Some Common Errors Forgot to increment Serial Number Forgot to Reload Primary Name Server Slave Name Server Can’t Load Zone Data Syntax Error in Configuration File or Zone Data File Missing Dot at the End of a Domain in Zone Data File

AfNOG-2003 Some Common Errors Missing Root Hints Data Loss of Network Connectivity Missing Sub-domain Delegation Incorrect Sub-domain Delegation See DNS and BIND 4 th edition, Chapter 14 on Troubleshooting DNS and BIND