中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap two : DNS 王俊城RHCE/RHCX.

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
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.
Web Server Administration Chapter 4 Name Resolution.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Copyright © 2007 by Scott Orr and the Trustees of Indiana University
DNS Session 4: Delegation and reverse DNS Joe Abley AfNOG 2006 workshop.
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.
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.
Internet Applications INTERNET & INTERNET APPLICATIONS.
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.
Recursive Server. Overview Recursive Service Root server list localhost in-addr.arpa named.conf.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
DOMAIN NAMING SYSTEM (AN OVERVIEW) By -DEEPAK. Topics --DNS What is DNS? Purpose of DNS DNS configuration files.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
Module 12: Domain Name System (DNS)
DNS Setup DNS CONFIGURATION. DNS Configuration DNS Setup named daemon is used A DNS Server may be caching/master/slave server The named.ca file has information.
DNS Domain Name Service References: Wikipedia 1.
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap Four : Mail 王俊城RHCE/RHCX.
Domain Name Services Oakton Community College CIS 238.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
DNS and Active Directory Integration
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.
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)
Got DNS? A review of Domain Name Services and how it impacts website developers. By Jason Baker Digital North.
Implementing DNS Module D 7: Implementing DNS

Configuring DNS.
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.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Deploying a Web Application Presented By: Muhammad Naveed Date:
Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002.
DNS How to find things…. 12/10/20152 Domain Name System Associate human-friendly names with machine- friendly IP addresses Resolution of a given hostname.
1 Domain Name System. 2 Resolve IP to a Name /etc/hosts  The /etc/hosts file is just a list of IP addresses and their corresponding server names.  Your.
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.
Configuring Name Resolution and Additional Services Lesson 12.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
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.
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;
DNS Session 4: Delegation and Reverse DNS Joe Abley AfNOG 2012, Serekunda, The Gambia.
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. 2 Introduction  In a distributed system, names are used to refer to a wide variety of resources such as:  Computers, services, remote.
WHAT IS DNS??????????.
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.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
DNS Domain name server a server to translate IP aliases to addresses
Everything You need to know
Configuring and Troubleshooting DNS
LINUX ADMINISTRATION 1
DNS and Bind Presenter David Wood
Presentation transcript:

中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap two : DNS 王俊城RHCE/RHCX

Agenda  DNS overview  Configuring BIND  Creating BIND databases  Additional DNS methods  Using BIND tools

Domain Name System (DNS)  forward lookup  ->  reverse lookup  >  Logically group by name domains  Provides routing information

Name Server Hierarchy  Master name server  maintain zone file itself  Slave name server  Provides a backup to the master name server  Synchronization with master or another slave name server  Cache-only  No any one zone file

DNS Server  Server receives request  If zone file have answer  If cache have answer  If forward assign  Asks root name server /var/named/named.ca /var/named/named.ca

BIND  Berkeley Internet Name Domain (BIND)  BIND 9  /usr/share/doc/bind*/README  IND

Service Profile : DNS  Type:System V-manager service  Packages:bind,bind-utils caching-nameserveropenssl  Daemons:named  Script:named  Ports:UDP(53),TCP(53)  Configs:/etc/named.conf /var/named/named.ca/var/named/*  Log:/var/log/messages

Configuring BIND  /etc/named.conf  service named restart  Text-file specifying directives:zones,options,access control lists,etc  Comments can be in C,C++ or shell style  /* C style comment */  // C++ style comment  # shell style comment

Global Options acl "mynet" { /24; /24; }; /24; }; options { directory "/var/named"; forwards { ; }; forward only; forward only; allow-query { mynet; }; allow-transfer { mynet; }; };

BIND utlities  host: gather host/domain information  host example.com  host – al example.com  host – t mx example.com  dig: send queries to name server directly    nslookup is deprecated

LAB1-Cache-only DNS Server  /var/named/chroot/etc/named.conf  /etc/hosts  /etc/resolv.conf  service named restart  host station251.example.com options { directory "/var/named/chroot/var/named"; forwarders { ; }; forward only; };

Slave Zones zone "example.com" { type slave; masters { ; }; file "example.com.zone-slave"; }; zone " in-addr.arpa" { type slave; masters { ; }; file " zone"; };

LAB2-Slave DNS Server  /var/named/chroot/etc/named.conf  /etc/hosts  /etc/resolv.conf  service named restart  host station251.example.com zone "example.com" { type slave; masters { ; }; file "example.com.zone-slave"; }; zone " in-addr.arpa" { type slave; masters { ; }; file " zone"; };

Master Zones zone "domain251.example.com" { type master; type master; file "domain251.example.com.zone"; file "domain251.example.com.zone";}; zone " IN-ADDR.ARPA" { type master; type master; file " zone"; file " zone";};

Special Zones  Root zone: “. ” zone "." { type hint; file "named.ca"; }; zone " in-addr.arpa" { type master; file " zone"; };

Zone Files  /var/named/* ( or /var/named/chroot/var/named/*)  Begin with $TTL (time to live)  First resource record is zone`s start of authority(SOA)  Zone data in additional resource records  Comments can be “ ; ”

Example Zone Files  SOA record  NS records  A records  CNAME records  MX records

Example Zone Files $TTL IN SOA station251.domain251.example.com. root.station251.domain251.example.com. ( ; Dont forget to increment the serial number ;serial number ;serial number 1H;refresh slave 1H;refresh slave 5M;retry refresh 5M;retry refresh 1W;expire zone 1W;expire zone 5M ;cache time-to-live for negative answers 5M ;cache time-to-live for negative answers) ; Name server resource records ( NS ) ; ownerTTL CL IN NSstation251.domain251.example.com. ; Mail exchanger resource records ( MX ) ; ownerTTL CL type RDATA domain251.example.com.IN MX 10 station251.domain251.example.com. ; Internet address resource records( A ) ; ownerTTLCL A station251.domain251.example.com.IN A

LAB2-Master DNS Server  /var/named/chroot/etc/named.conf  /etc/hosts  /etc/resolv.conf  service named restart  host station251.example.com zone “ domain251.example.com" { type master; file "domain251.example.com.zone"; };

Delegating Subdomains  Configure the subdomain as a zone on the new server  On delegating server,set up NS record for the subdomain pointing to the new server  If new server is in subdomain it manages,on delegating server need a “ glue ” A record for new server