Recursive Server. Overview Recursive Service Root server list localhost 0.0.127.in-addr.arpa named.conf.

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
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.
DNS server & Client Objectives Contents
DNS Domain Name System –name servers –Translates FDQN to IP address List of fully qualified domain names (FDQN) and their IP addresses, FDQN has three.
Introduction to the DNS AfCHIX 2011 Blantyre, Malawi.
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.
6.033 Lecture 14 DNS and Content Delivery Networks Sam Madden Key ideas: Domain name service Content delivery networks Network overlays.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
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.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
DNS Domain Name Service america.pcs.cnu.edu->
The Domain Name System Unix System Administration Download PowerPoint Presentation.
Domain Name System: 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.
Module 12: Domain Name System (DNS)
12 September 2003Jon-Olov Vatn, KTH/IMIT/TSLab Domain Name System (DNS) 2G1701 Lecture Jon-Olov Vatn KTH/IMIT/TSLab © 2003.
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.
Linux Networking Commands
Domain Name System (DNS) Ayitey Bulley Session-1: Fundamentals.
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
Tony Kombol ITIS Who knows this? Who controls this? DNS!
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.

DNS and C# SWE 344 Internet Protocols & Client Server Programming.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
14 DNS : The Domain Name System. 14 Introduction - Problem Computers are used to work with numbers Humans are used to work with names ==> IP addresses.
October 15, 2002Serguei A. Mokhov, 1 Intro to DNS SOEN321 - Information Systems Security.
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
Module 8 DNS Tools & Diagnostics. Objectives Understand dig and nslookup Understand BIND toolset Understand BIND logs Understand wire level messages.
BIND THE DNS SERVER TO USE !. DNS Domain Name Services Name to IP resolving /etc/hosts /etc/resolv.conf.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
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.
© NLnet Labs, Licensed under a Creative Commons Attribution 3.0 Unported License.Creative Commons Attribution 3.0 Unported License Practicalities.
Tony Kombol ITIS DNS! overview history features architecture records name server resolver dnssec.
1 Domain Name System (DNS). 2 3 How DNS Works Application Transport Internet Network Application Transport Internet Network DNS Resolver Name Server.
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.
A study of caching behavior with respect to root server TTLs Matthew Thomas, Duane Wessels October 3 rd, 2015.
Module 8 DNS Tools & Diagnostics. Dig always available with BIND (*nix) and windows Nslookup available on windows and *nix Dig on windows – unpack zip,
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.
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/Proxy Babu Ram Dawadi. Introduction - DNS Domain Name Server Domain Name Server –programs that store information about the domain name space –largest.
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;
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.
Domain Name System (DNS) Joe Abley AfNOG Workshop, AIS 2014, Djibouti Session-1: Fundamentals.
WHAT IS DNS??????????.
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley Setting up an Authoritative Name Server.
1 Lecture A.3: DNS Security r Domain Name Service r Security Problems in DNS.
Track E0 AfNOG workshop April Abuja, Nigeria Introduction to the DNS.
1 CMPT 471 Networking II DNS © Janice Regan,
DNS Domain name server a server to translate IP aliases to addresses
Introduction to the DNS
Domain Name System Tony Kombol ITIS 3110.
LINUX ADMINISTRATION 1
DNS and Bind Presenter David Wood
DNS : Domain Name System
Presentation transcript:

Recursive Server

Overview Recursive Service Root server list localhost in-addr.arpa named.conf

Recursive Server Used to lookup data by applications Needs to know how to reach top of DNS Also should stop some queries –localhost, Files –named.conf –root.hints –localhost zone – in-addr.arpa zone We'll do named.conf last

Root server list List of the 13 root server records Where to get it –ftp rs.internic.net anonymous login cd domain get one of these files (they are [nearly] the same) –db.cache –named.root –named.cache

What it looks like ; This file holds the information on root name servers needed to ; initialize cache of Internet domain name servers ; (e.g. reference this file in the "cache. " ; configuration file of BIND domain name servers). ; ; This file is made available by InterNIC ; under anonymous FTP as ; file /domain/named.cache ; on server FTP.INTERNIC.NET ; ; last update: Nov 5, 2002 ; related version of root zone: ; ; formerly NS.INTERNIC.NET ; IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET A ; ; housed in Japan, operated by WIDE ; NS M.ROOT-SERVERS.NET. M.ROOT-SERVERS.NET A ; End of File

What you do to this file (hints file) Nothing You will include it in named.conf In real networks, don't change it –But for learning, we will change it

localhost Loopback name in operating systems Means Queries for this shouldn't use recursion So we will configure a file to define the localhost. zone –Note the "."

localhost file $ORIGIN localhost. $TTL IN SOA localhost. root.localhost. ( 1 ; serial 1800 ; refresh 900 ; retry ; expire 1080 ; negative cache ttl ) NS localhost. A

Reverse for localhost Since we want "localhost -> " we want to have " > localhost" We need a zone called in- addr.arpa.

in-addr.arpa file $ORIGIN in-addr.arpa. $TTL IN SOA localhost. root.localhost. ( 1 ; serial 1800 ; refresh 900 ; retry ; expire 1080 ; negative cache ttl ) NS localhost. 1 PTR localhost.

Assembling the files Here's my directory: [/var/named/recursive] % ls in-addr.arpa localhost named.root The directory name and file names will be in named.conf Now I create a named.conf file in the same directory

named.conf options { directory "/var/namedb/recursive"; pid-file "/var/named/recursive/n.pid"; recursion yes; // by default recursion is on }; zone "." { type hint; file "named.root"; }; zone "localhost." { type master; file "localhost"; }; zone " in-addr.arpa." { type master; file " in-addr.arpa"; };

Running the server From the directory –sudo named -g -c named.conf

Testing the server Just to show it is alive ; > DiG 9.2.2rc1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 10, ADDITIONAL: 0 ;; QUESTION SECTION: ; IN A ;; ANSWER SECTION: IN A IN A ;; AUTHORITY SECTION: arin.net IN NS arrowroot.arin.net. (and so on) ;; Query time: 3066 msec ;; SERVER: #53( ) ;; WHEN: Wed Feb 19 11:07: ;; MSG SIZE rcvd: 251

Congratulations - Your First Server! It's just the beginning...