SlideShare uma empresa Scribd logo
1 de 16
1

17-FEB-2014 – Monday

Topic:

Domain
Name
Server
(Overview, Configuration)

1
2

Domain Name Server
Overview
Overview
The DNS configuration files are
stored in the /etc/bind directory.
The primary configuration file
is /etc/bind/named.conf.

2
3

Domain Name Server
Overview
The include line specifies the

filename which contains the DNS
options.
The directory line in the
/etc/bind/named.conf.options file
tells DNS where to look for files.

3
4

Domain Name Server
Overview
All files BIND uses will be relative

to this directory.
The file named

/etc/bind/db.root describes the
root nameservers in the world.

4
5

Domain Name Server
Overview
The servers change over time, so

the /etc/bind/db.rootfile must be
maintained now and then.

This is usually done as updates to
the bind9 package.

5
Domain Name Server
Overview

6

The zone section defines a master
server, and it is stored in a file
mentioned in the file option.
It is possible to configure the same

server to be a caching name server,
primary master, and secondary

master.

6
7

Domain Name Server
Overview
A server can be the Start of
Authority (SOA) for one zone, while
providing secondary service for
another zone. All the while

providing caching services for hosts
on the local LAN.

7
8

Domain Name Server
Overview - Caching Nameserver
The default configuration is setup to

act as a caching server.
All that is required is simply adding

the IP Addresses of your ISP's DNS
servers.

8
9

Domain Name Server
Overview - Caching Nameserver
Simply uncomment and edit the following in

/etc/bind/named.conf.options:
forwarders {
1.2.3.4;
5.6.7.8;

};
Replace 1.2.3.4 and 5.6.7.8 with the IP
Adresses of actual nameservers.

9
10

Domain Name Server
Overview - Caching Nameserver
Now restart the DNS server, to

enable the new configuration.
From a terminal prompt:

$ sudo service bind9 restart

10
11

Domain Name Server
Overview - Primary Master
In this section BIND9 will be

configured as the Primary Master for
the domain example.com.
Simply replace example.com with

your FQDN (Fully Qualified Domain
Name).

11
12

Domain Name Server
Overview - Forward Zone File
Now use an existing zone file as

12

a template to create the
/etc/bind/db.example.com file:
sudo cp /etc/bind/db.local
/etc/bind/db.example.com
zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};
13

Domain Name Server
Overview - Secondary Master
Once a Primary Master has been
configured a Secondary Master is
needed in order to maintain the
availability of the domain should

the Primary become unavailable.

13
14

Domain Name Server
Overview - Secondary Master
First, on the Primary Master server, the
zone transfer needs to be allowed.

Add the allow-transfer option to

the example Forward and Reverse
zone definitions in

/etc/bind/named.conf.local:

14
15

Domain Name Server
Overview - Secondary Master

15

zone "example.com" {
type master;
file "/etc/bind/db.example.com";
allow-transfer{192.168.1.11;};
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
allow-transfer{192.168.1.11;};
};
16

Domain Name Server
Overview - Secondary Master
Replace 192.168.1.11 with the IP Address

of your Secondary nameserver.

Restart BIND9 on the Primary Master:
$ sudo service bind9 restart

16

Mais conteúdo relacionado

Mais procurados

Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)Hari
 
Backup and Restore SALSA to a Secondary Server with a different IP address
Backup and Restore SALSA to a Secondary Server with a different IP addressBackup and Restore SALSA to a Secondary Server with a different IP address
Backup and Restore SALSA to a Secondary Server with a different IP addressOscar OLVERA-IRIGOYEN, Ph.D
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS ConfigurationVinod Gour
 
Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)Vijay Sharma
 
Install BIND9 on Ubuntu Server 12.04 LTS
Install BIND9 on Ubuntu Server 12.04 LTSInstall BIND9 on Ubuntu Server 12.04 LTS
Install BIND9 on Ubuntu Server 12.04 LTSMohd Khairulazam
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configurationSanguine_Eva
 
gcis-zenworks7.2
gcis-zenworks7.2gcis-zenworks7.2
gcis-zenworks7.2KARLY21
 
Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands SimoniShah6
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)Raghu nath
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiUnmesh Baile
 

Mais procurados (20)

Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)Building Linux IPv6 DNS Server (Complete Presentation)
Building Linux IPv6 DNS Server (Complete Presentation)
 
VeloxDFS
VeloxDFSVeloxDFS
VeloxDFS
 
Linux Addministration
Linux AddministrationLinux Addministration
Linux Addministration
 
Backup and Restore SALSA to a Secondary Server with a different IP address
Backup and Restore SALSA to a Secondary Server with a different IP addressBackup and Restore SALSA to a Secondary Server with a different IP address
Backup and Restore SALSA to a Secondary Server with a different IP address
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)
 
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
 
Install BIND9 on Ubuntu Server 12.04 LTS
Install BIND9 on Ubuntu Server 12.04 LTSInstall BIND9 on Ubuntu Server 12.04 LTS
Install BIND9 on Ubuntu Server 12.04 LTS
 
Hadoop File System Shell Commands,
Hadoop File System Shell Commands,Hadoop File System Shell Commands,
Hadoop File System Shell Commands,
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configuration
 
gcis-zenworks7.2
gcis-zenworks7.2gcis-zenworks7.2
gcis-zenworks7.2
 
Linux test paper2
Linux test paper2Linux test paper2
Linux test paper2
 
Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
 
Pnfs
PnfsPnfs
Pnfs
 
pNFS Introduction
pNFS IntroductionpNFS Introduction
pNFS Introduction
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbai
 
Dns
DnsDns
Dns
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
Basic Linux day 2
Basic Linux day 2Basic Linux day 2
Basic Linux day 2
 

Destaque

Pmw2 k3ni 1-1b
Pmw2 k3ni 1-1bPmw2 k3ni 1-1b
Pmw2 k3ni 1-1bhariclant1
 
Server Side Basics
Server Side BasicsServer Side Basics
Server Side Basicskeithcelt
 
Pmw2 k3ni 1-2a
Pmw2 k3ni 1-2aPmw2 k3ni 1-2a
Pmw2 k3ni 1-2ahariclant1
 
Pmw2 k3ni 1-2b
Pmw2 k3ni 1-2bPmw2 k3ni 1-2b
Pmw2 k3ni 1-2bhariclant1
 
Deploying and configuring dns service
Deploying and configuring dns serviceDeploying and configuring dns service
Deploying and configuring dns servicelatoniasmith
 
Pmw2 k3ni 1-3a
Pmw2 k3ni 1-3aPmw2 k3ni 1-3a
Pmw2 k3ni 1-3ahariclant1
 
Windows server 2012_r2_networking_white_paper material
Windows server 2012_r2_networking_white_paper materialWindows server 2012_r2_networking_white_paper material
Windows server 2012_r2_networking_white_paper materialJesus Garcia Guevara
 
CRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MA
CRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MACRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MA
CRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MADiane McKenna
 
Installing active directory, dns and dhcp to
Installing active directory, dns and dhcp toInstalling active directory, dns and dhcp to
Installing active directory, dns and dhcp toabayazed
 
6421 configuring and troubleshooting win server 2008 network infrastructure
6421   configuring and troubleshooting win server 2008 network infrastructure6421   configuring and troubleshooting win server 2008 network infrastructure
6421 configuring and troubleshooting win server 2008 network infrastructurebestip
 
Dns protocol design attacks and security
Dns protocol design attacks and securityDns protocol design attacks and security
Dns protocol design attacks and securityMichael Earls
 
Session 4 Tp 4
Session 4 Tp 4Session 4 Tp 4
Session 4 Tp 4githe26200
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)Amandeep Kaur
 

Destaque (20)

6421 b Module-13
6421 b Module-136421 b Module-13
6421 b Module-13
 
ALCLS
ALCLSALCLS
ALCLS
 
Pmw2 k3ni 1-1b
Pmw2 k3ni 1-1bPmw2 k3ni 1-1b
Pmw2 k3ni 1-1b
 
Server Side Basics
Server Side BasicsServer Side Basics
Server Side Basics
 
Pmw2 k3ni 1-2a
Pmw2 k3ni 1-2aPmw2 k3ni 1-2a
Pmw2 k3ni 1-2a
 
Pmw2 k3ni 1-2b
Pmw2 k3ni 1-2bPmw2 k3ni 1-2b
Pmw2 k3ni 1-2b
 
Deploying and configuring dns service
Deploying and configuring dns serviceDeploying and configuring dns service
Deploying and configuring dns service
 
PGCA_Agenda 2017
PGCA_Agenda 2017PGCA_Agenda 2017
PGCA_Agenda 2017
 
Pmw2 k3ni 1-3a
Pmw2 k3ni 1-3aPmw2 k3ni 1-3a
Pmw2 k3ni 1-3a
 
Windows server 2012_r2_networking_white_paper material
Windows server 2012_r2_networking_white_paper materialWindows server 2012_r2_networking_white_paper material
Windows server 2012_r2_networking_white_paper material
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
CRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MA
CRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MACRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MA
CRISPR Gene Editing Congress, 25-27 February 2015 in Boston, MA
 
Installing active directory, dns and dhcp to
Installing active directory, dns and dhcp toInstalling active directory, dns and dhcp to
Installing active directory, dns and dhcp to
 
6421 configuring and troubleshooting win server 2008 network infrastructure
6421   configuring and troubleshooting win server 2008 network infrastructure6421   configuring and troubleshooting win server 2008 network infrastructure
6421 configuring and troubleshooting win server 2008 network infrastructure
 
Essa lab week 1
Essa lab week 1Essa lab week 1
Essa lab week 1
 
Dns protocol design attacks and security
Dns protocol design attacks and securityDns protocol design attacks and security
Dns protocol design attacks and security
 
6421 b Module-03
6421 b Module-036421 b Module-03
6421 b Module-03
 
DNS Attacks
DNS AttacksDNS Attacks
DNS Attacks
 
Session 4 Tp 4
Session 4 Tp 4Session 4 Tp 4
Session 4 Tp 4
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 

Semelhante a Linux04 dns 2

Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Edureka!
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDCJalpa Soni
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Kaan Aslandağ
 
Tutorial : Zimbra on BlankOn
Tutorial : Zimbra on BlankOnTutorial : Zimbra on BlankOn
Tutorial : Zimbra on BlankOnprinceofgiri
 
Constructing a Modern Information System for a Small Company: A Real Battle
Constructing a Modern Information System for a Small Company: A Real BattleConstructing a Modern Information System for a Small Company: A Real Battle
Constructing a Modern Information System for a Small Company: A Real Battle"FENG "GEORGE"" YU
 
1. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv61. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv6Piyush Kumar
 
Chapter 06
Chapter 06Chapter 06
Chapter 06cclay3
 
02 configuring and-troubleshooting-dns
02 configuring and-troubleshooting-dns02 configuring and-troubleshooting-dns
02 configuring and-troubleshooting-dnsapshirame
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)abdullah roomi
 
Configuracion de red en ubuntu
Configuracion de red en ubuntuConfiguracion de red en ubuntu
Configuracion de red en ubuntuLupita Chacon
 
Ahmad-debian
Ahmad-debianAhmad-debian
Ahmad-debiansyaif-sae
 

Semelhante a Linux04 dns 2 (20)

15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
 
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
 
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdfSFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
SFScon 22 - Dashamir Hoxha - Manage your own DNS.pdf
 
Tutorial : Zimbra on BlankOn
Tutorial : Zimbra on BlankOnTutorial : Zimbra on BlankOn
Tutorial : Zimbra on BlankOn
 
Dns
DnsDns
Dns
 
Constructing a Modern Information System for a Small Company: A Real Battle
Constructing a Modern Information System for a Small Company: A Real BattleConstructing a Modern Information System for a Small Company: A Real Battle
Constructing a Modern Information System for a Small Company: A Real Battle
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
 
1. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv61. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv6
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Windows 2003 Server
Windows 2003 ServerWindows 2003 Server
Windows 2003 Server
 
Dns
DnsDns
Dns
 
02 configuring and-troubleshooting-dns
02 configuring and-troubleshooting-dns02 configuring and-troubleshooting-dns
02 configuring and-troubleshooting-dns
 
Dns
DnsDns
Dns
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)
 
Configuracion de red en ubuntu
Configuracion de red en ubuntuConfiguracion de red en ubuntu
Configuracion de red en ubuntu
 
Ahmad-debian
Ahmad-debianAhmad-debian
Ahmad-debian
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 

Mais de Jainul Musani

Mais de Jainul Musani (20)

React js t8 - inlinecss
React js   t8 - inlinecssReact js   t8 - inlinecss
React js t8 - inlinecss
 
React js t7 - forms-events
React js   t7 - forms-eventsReact js   t7 - forms-events
React js t7 - forms-events
 
React js t6 -lifecycle
React js   t6 -lifecycleReact js   t6 -lifecycle
React js t6 -lifecycle
 
React js t5 - state
React js   t5 - stateReact js   t5 - state
React js t5 - state
 
React js t4 - components
React js   t4 - componentsReact js   t4 - components
React js t4 - components
 
React js t3 - es6
React js   t3 - es6React js   t3 - es6
React js t3 - es6
 
React js t2 - jsx
React js   t2 - jsxReact js   t2 - jsx
React js t2 - jsx
 
React js t1 - introduction
React js   t1 - introductionReact js   t1 - introduction
React js t1 - introduction
 
ExpressJs Session01
ExpressJs Session01ExpressJs Session01
ExpressJs Session01
 
NodeJs Session03
NodeJs Session03NodeJs Session03
NodeJs Session03
 
NodeJs Session02
NodeJs Session02NodeJs Session02
NodeJs Session02
 
Nodejs Session01
Nodejs Session01Nodejs Session01
Nodejs Session01
 
Java exercise1
Java exercise1Java exercise1
Java exercise1
 
Fundamentals of JDBC
Fundamentals of JDBCFundamentals of JDBC
Fundamentals of JDBC
 
Core Java Special
Core Java SpecialCore Java Special
Core Java Special
 
Core Java Special
Core Java SpecialCore Java Special
Core Java Special
 
Cassandra-vs-MongoDB
Cassandra-vs-MongoDBCassandra-vs-MongoDB
Cassandra-vs-MongoDB
 
MongoDB-SESSION03
MongoDB-SESSION03MongoDB-SESSION03
MongoDB-SESSION03
 
MongoDB-SESSION02
MongoDB-SESSION02MongoDB-SESSION02
MongoDB-SESSION02
 
MongoDB-SESION01
MongoDB-SESION01MongoDB-SESION01
MongoDB-SESION01
 

Último

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Último (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Linux04 dns 2

  • 2. 2 Domain Name Server Overview Overview The DNS configuration files are stored in the /etc/bind directory. The primary configuration file is /etc/bind/named.conf. 2
  • 3. 3 Domain Name Server Overview The include line specifies the filename which contains the DNS options. The directory line in the /etc/bind/named.conf.options file tells DNS where to look for files. 3
  • 4. 4 Domain Name Server Overview All files BIND uses will be relative to this directory. The file named /etc/bind/db.root describes the root nameservers in the world. 4
  • 5. 5 Domain Name Server Overview The servers change over time, so the /etc/bind/db.rootfile must be maintained now and then. This is usually done as updates to the bind9 package. 5
  • 6. Domain Name Server Overview 6 The zone section defines a master server, and it is stored in a file mentioned in the file option. It is possible to configure the same server to be a caching name server, primary master, and secondary master. 6
  • 7. 7 Domain Name Server Overview A server can be the Start of Authority (SOA) for one zone, while providing secondary service for another zone. All the while providing caching services for hosts on the local LAN. 7
  • 8. 8 Domain Name Server Overview - Caching Nameserver The default configuration is setup to act as a caching server. All that is required is simply adding the IP Addresses of your ISP's DNS servers. 8
  • 9. 9 Domain Name Server Overview - Caching Nameserver Simply uncomment and edit the following in /etc/bind/named.conf.options: forwarders { 1.2.3.4; 5.6.7.8; }; Replace 1.2.3.4 and 5.6.7.8 with the IP Adresses of actual nameservers. 9
  • 10. 10 Domain Name Server Overview - Caching Nameserver Now restart the DNS server, to enable the new configuration. From a terminal prompt: $ sudo service bind9 restart 10
  • 11. 11 Domain Name Server Overview - Primary Master In this section BIND9 will be configured as the Primary Master for the domain example.com. Simply replace example.com with your FQDN (Fully Qualified Domain Name). 11
  • 12. 12 Domain Name Server Overview - Forward Zone File Now use an existing zone file as 12 a template to create the /etc/bind/db.example.com file: sudo cp /etc/bind/db.local /etc/bind/db.example.com zone "example.com" { type master; file "/etc/bind/db.example.com"; };
  • 13. 13 Domain Name Server Overview - Secondary Master Once a Primary Master has been configured a Secondary Master is needed in order to maintain the availability of the domain should the Primary become unavailable. 13
  • 14. 14 Domain Name Server Overview - Secondary Master First, on the Primary Master server, the zone transfer needs to be allowed. Add the allow-transfer option to the example Forward and Reverse zone definitions in /etc/bind/named.conf.local: 14
  • 15. 15 Domain Name Server Overview - Secondary Master 15 zone "example.com" { type master; file "/etc/bind/db.example.com"; allow-transfer{192.168.1.11;}; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/db.192"; allow-transfer{192.168.1.11;}; };
  • 16. 16 Domain Name Server Overview - Secondary Master Replace 192.168.1.11 with the IP Address of your Secondary nameserver. Restart BIND9 on the Primary Master: $ sudo service bind9 restart 16