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.

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.
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap two : DNS 王俊城RHCE/RHCX.
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.
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.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Recursive Server. Overview Recursive Service Root server list localhost in-addr.arpa named.conf.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
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.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Module 12: Domain Name System (DNS)
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)
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.

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.
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.
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
Zone Properties. Zone Properties Continued Aging allows zone to remove “stale” or “old” records for clients who have not updated within a certain period.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
DNS Zones. DNS records kept in zones DNS server is authoritative for a domain if it hosts the zone for that domain Sub-domains can be kept in same zone.
Module 5 BIND Configuration. named.conf – controls operational features Located - Linux: /etc/named.conf /etc/bind/named.conf Located- BSD: /usr/local/etc/named.conf.
Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002.
Secured Dynamic Updates. Caution Portions of this slide set present features that do not appear in BIND until BIND 9.3 –Snapshot code is available for.
BIND THE DNS SERVER TO USE !. DNS Domain Name Services Name to IP resolving /etc/hosts /etc/resolv.conf.
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.
Configuring Name Resolution and Additional Services Lesson 12.
Windows Server 2003 DNS 安裝設定與管理維護 林寶森
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;
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
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??????????.
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley Setting up an Authoritative Name Server.
DNS Domain name server a server to translate IP aliases to addresses
Created by : Ashish Shah, J.M.Patel College, Goregoan West
Module 5: Resolving Host Names by Using Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
LINUX ADMINISTRATION 1
DNS and Bind Presenter David Wood
Presentation transcript:

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 : option{ value "property"; } For eg : option { directory "/var/named"; dump file "/var/named/data/cache_drop.db"; statics file "/var/named/data/named_stats.txt"; }

Some option-values are as follows : 1. allow-query : accepts query from hosts in the "address- list" / accept-list 2. allow-transfer : zone transfer allow only by hosts usage 3. directory : path of directory where server configuration files are located. 4. files : limit no of concurrently open file.

5. check-names : host names are checked against the RPC usage. 6. cleaning interval “number”: time period to clean the expired records. 7. multiple cnames “no” : use of multiple names. 8. notify : when zone files are updated this option is set to yes.

9. forward : if set to first the servers listed in the forward option are queried and then server tries to find the answer itself.(first/only). 10. forwarders : shows IP addresses of servers to forward queries.

INCLUDE section Use to list the path and name of any file that user wants to include. Syntax is : Include “file path”; Eg : Include /etc/made.key

ACL section This section is use to specify list of IP addresses as an access control list.

Logging section Whenever user wants to use server logging option, the logging section is used. The channel is where we specify the location of the logged info. The logged info can be a returned file or a syslog.

Syntax : Logging { Channel channel name{ File path; Version number; Size in bytes; }

Category is used where user can specify the type of info in the log. Also severity level and print info can be specified. Category can be declared as : Category security{ Channel name “abc”; }

Category security{ Channel name “abc”; } Channel abc { syslog /var/log/syslog; print-time yes; print-category yes; }

Server section User can set the properties of the remote server where user can also specify whether to send query to the remote server from client. 1. bogus : yes/no – specifies whether queries are sent to remote server or not. 2. transfer : allows the number of trasnfers. 3. transfer-format : specify whether you want one answer or many answers. 4. keys : specify key ID.

ZONE section Each zone statement begins the word zone followed by domain name/IP zone “.” IN { type master;} Here “IN” is a data class which stands for internet. Type can be either master or slave.

Name of zone files are specified. Eg: zone “localhost” IN { type master; file named.localhost; allow_update none; };

Few more options in zone section 1. allow-query : accepts dns query from the hosts specified in its address list. 2. allow-transfer : allows zone information to be transferred. 3. notify : receives DNS notify messages. 4. allow-update : specifies to update DNS database. 5. max-transfer-time-in : specifies maximum time slave would wait for zone transfer.

Forward zone file Contains resource records about IP addresses. IN tyit.example.com{ 42; serial 3H; refresh 15M; retry 1W; expiry 1D;) minimum NS tyit.example.com tyit.example.com

A zone file starts with SOA – service of authority. Refresh: the amount of time the server should wait before refreshing the data. Retry: amount of time the server should wait before attempting to contact the primary server if the attempt to the previous seerver failed.

Expire : if secondary server is unable to contact the primary master, the data expires. TTL : specifies time to live for the data. specifies how long the data should be hold in the cache.

Reverse Zone File When a domain name is mapped to IP, it is known as forward resolution. If a user finds name from an IP number it is known as reverse address resolution and in this case “reverse file” is used.

IN tyit.example.com{ 42; serial 3H; refresh 15M; retry 1W; expiry 1D;) minimum NS tyit.example.com tyit.example.com

zone in-addr.arpa { notify no; type master; file “named.ca”; };

Configuring Master server 1. Master or Primary DNS Server is the main DNS server of the network. 2. /etc/named.conf has to be modified. 3. following lines should ne added : 3.1 for forward lookup zone example.com IN{ notify no; type master; file “named.localhost”; };

3.2 for reverse lookup zone in-addr.arpa{ notify no; type master; file “named.loopback”; };

4. Names of file on master and slave server should be same. 5. user needs to create zone files which are referenced using /etc/named.conf 6. user needs to add name server and mail exchange information. 7. add information about name server and their IP addresses.

8. start the named service [root#] service named start 9. in /etc/host.conf – word bind should be there. 10. in /etc/nsswitch.conf hosts : file dns

11. write IP address of nameserver in /etc/resolv.conf nameserver restart the named service [root#[ service named restart 13. make it onboot [root#] chkconfig named on

Configuring Slave Server 1. Master or Primary DNS Server is the main DNS server of the network. 2. /etc/named.conf has to be modified. 3. following lines should ne added : 3.1 for forward lookup zone example.com IN{ notify no; type slave; master (IP address of master DNS); file “named.localhost”; };

3.2 for reverse lookup zone in-addr.arpa{ notify no; type slave; master (IP address of master DNS); file “named.loopback”; };

4. Names of file on master and slave server should be same. 5. user needs to create zone files which are referenced using /etc/named.conf 6. user needs to add name server and mail exchange information. 7. add information about name server and their IP addresses.

8. start the named service [root#] service named start 9. in /etc/host.conf – word bind should be there. 10. in /etc/nsswitch.conf hosts : file dns

11. write IP address of nameserver in /etc/resolv.conf nameserver restart the named service [root#[ service named restart 13. make it onboot [root#] chkconfig named on

Setting DNS Client First check the IP address of the name server It is in /etc/resolv.conf There are two ways to check the working of the configuration. 1. host program 2. dig program

Host program 1. host enables users to find out the IP addresses of the specified domain name. [root#] host tyit.example.com tyit.example.com has the IP address

2. to find out mail server and other information [root#] host –t mx tyit.example.com 3. for reverse mapping [root#] host tyit.example.com

Dig program Dig is used for debugging and finding other useful information. [root#] dig tyit.example.com Output : IP address is Domain name example.com Dns name tyit.example.com Server IP address

[root#] dig –x Domain name example.com Dns name tyit.example.com