SlideShare a Scribd company logo
DNS server configuration
INTRODUCTION TO DNS SERVER

 DNS provides the resolution of host names to IP &
  vice versa.
  . e.g www.wbut.ac.in to 192.168.43.10 (IPv4)



 Defines a hierarchical name space where each level of
  the namespace is separated by a “ . ”
   e.g 192.168.64.27(class B).
Types of DNS Server

Master DNS server:-
Stores authorative records for your domain




Slave DNS server:-
Relies on master DNS server for data.
Caching-only DNS server:-
Stores recent requests like a proxy server.




Forwarding –only DNS server:-
Refers to all requests to other DNS servers.
DNS Master server configuration
STEP-1:

 bind & caching name server .


 rpm is required to configure
  DNS. Check them for install ,if
  not installed, install them as

   [root@server~]# rpm –qa cach*
   [root@server~]# rpm –qa bind*
DNS Master server configuration
STEP-2:
 Set hostname to
  server.example.com .

 [root@server~]# cat/etc/
  sysconfig /network
  HOSTNAME=
  server.example.com

 Set IP address to
  192.168.0.254
 [root@server~] ifconfig etho
   inet addr: 192.168.0.254
DNS Master server configuration
  STEP-3:
 Create the main configuration file
  for DNS, that is named.conf.
• By default a sample file
 /var/named/chroot/etc/named.
  caching- nameserver .conf ,is
  created
 Edit this one by named.conf file or
  create new one as
 [root@server etc]# vi/
  var/named/chroot/etc/named.conf
 Set directory location for
   Forward zone and Reverse lookup
  zone
DNS Master server configuration
 STEP-4:
 Configure example.com.zone for forward zone and 0.168.192.in-
  address.arpa for reverse zone. They will be stored in
  “/var/named/chroot/var/named/” location.
 Change directory to

 [root@server named]# cd/ var/named/chroot/var/named
 Copy sample file to name we have set in named.conf.

 [root@server named]# cp localhost.zone example.com.zone

 [root@server named]# cp named.local 0.168.192.in-
  addr.arpa.zone
DNS Master server configuration
  STEP-5:
  Open forward zone file
  [root@server named]# vi
   example.com.zone
   and modify as
DNS Master server configuration

STEP-5 contd:

Open reverse lookup zone file

 [root@server named]# vi
  0.168.192.in-addr.arpa.zone
  and modify as
DNS Master server configuration

STEP-6:
Change the ownership of these zone file to named group.



 [root@server named]# chgrp named example.com.zone


 [root@server named]# chgrp named 0.168.192.in-
  addr.arpa.zone
DNS Master server configuration
STEP-7:
 Now start the named service


 If service restart without any error then the master name
  server is successfully configured
Summary

 DNS is an integral part in most protocols
  used in the internet.
 Makes the internet human friendly for all
  of us..
 Is the world’s largest distributed database
  system.
 Fits the international model perfectly.
 In simple terms DNS is a mapping
  between names and IP addresses.
DNS server configuration
Ad

More Related Content

What's hot (20)

Domain name server
Domain name serverDomain name server
Domain name server
Mobile88
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
Akshay Tiwari
 
DNS
DNSDNS
DNS
FTC
 
Dns server
Dns serverDns server
Dns server
Subrata Kumer Paul
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
Fâhém Ähmêd
 
DNS Record
DNS RecordDNS Record
DNS Record
kangting21
 
Dns server
Dns server Dns server
Dns server
kajal sood
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
Vinod Gour
 
Domain name system
Domain name systemDomain name system
Domain name system
Siddharth Chandel
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
Vishal Mittal
 
Dns presentation
Dns presentationDns presentation
Dns presentation
Anurag Pandey
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
Aashima Wadhwa
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
ABDUL GAFOOR K V
 
Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
Dhingani Harshil
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
Atikur Rahman
 
Ad, dns, dhcp, file server
Ad, dns, dhcp, file serverAd, dns, dhcp, file server
Ad, dns, dhcp, file server
Tola LENG
 
Linux and DNS Server
Linux and DNS ServerLinux and DNS Server
Linux and DNS Server
Prabhakar Thota
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
ThousandEyes
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
Prakhar Rastogi
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
Hameda Hurmat
 

Similar to DNS server configuration (20)

Linux04 dns 2
Linux04 dns 2Linux04 dns 2
Linux04 dns 2
Jainul Musani
 
BIND DNS Configuration Red Hat 5
BIND DNS Configuration Red Hat 5BIND DNS Configuration Red Hat 5
BIND DNS Configuration Red Hat 5
Cheri Amour Calicdan
 
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!
 
Dns
DnsDns
Dns
Md Shihab
 
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
South Tyrol Free Software Conference
 
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
Piyush Kumar
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
webhostingguy
 
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
Piyush Kumar
 
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
 
Linux Addministration
Linux AddministrationLinux Addministration
Linux Addministration
PandeyABHISHEK1
 
Modul server debian 5
Modul server debian 5Modul server debian 5
Modul server debian 5
UNISKA, SMK Telkom Banjarbaru
 
ppt-domain-name-system-04-200100 (1).ppt
ppt-domain-name-system-04-200100 (1).pptppt-domain-name-system-04-200100 (1).ppt
ppt-domain-name-system-04-200100 (1).ppt
TeddyIswahyudi1
 
Dns
DnsDns
Dns
tmavroidis
 
2. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv42. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv4
Piyush Kumar
 
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
Vijay Sharma
 
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
Kaan Aslandağ
 
DNS SERVER
DNS SERVERDNS SERVER
DNS SERVER
MOHSIN HASAN
 
15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
Hameda Hurmat
 
DNS and Troubleshooting DNS issues in Linux
DNS and Troubleshooting DNS issues in LinuxDNS and Troubleshooting DNS issues in Linux
DNS and Troubleshooting DNS issues in Linux
Konkona Basu
 
3. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv63. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv6
Piyush Kumar
 
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!
 
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
Piyush Kumar
 
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
Piyush Kumar
 
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
 
ppt-domain-name-system-04-200100 (1).ppt
ppt-domain-name-system-04-200100 (1).pptppt-domain-name-system-04-200100 (1).ppt
ppt-domain-name-system-04-200100 (1).ppt
TeddyIswahyudi1
 
2. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv42. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv4
Piyush Kumar
 
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
Kaan Aslandağ
 
DNS and Troubleshooting DNS issues in Linux
DNS and Troubleshooting DNS issues in LinuxDNS and Troubleshooting DNS issues in Linux
DNS and Troubleshooting DNS issues in Linux
Konkona Basu
 
3. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv63. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv6
Piyush Kumar
 
Ad

More from Sanguine_Eva (7)

BERMUDA TRIANGLE
BERMUDA TRIANGLEBERMUDA TRIANGLE
BERMUDA TRIANGLE
Sanguine_Eva
 
JDEdwards E1 Security
JDEdwards E1 SecurityJDEdwards E1 Security
JDEdwards E1 Security
Sanguine_Eva
 
Computer viruses and antiviruses
Computer viruses and antivirusesComputer viruses and antiviruses
Computer viruses and antiviruses
Sanguine_Eva
 
26/11 MUMBAI
26/11 MUMBAI26/11 MUMBAI
26/11 MUMBAI
Sanguine_Eva
 
Area 51
Area 51Area 51
Area 51
Sanguine_Eva
 
Cyber Crime and Security
Cyber Crime and Security Cyber Crime and Security
Cyber Crime and Security
Sanguine_Eva
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
Sanguine_Eva
 
JDEdwards E1 Security
JDEdwards E1 SecurityJDEdwards E1 Security
JDEdwards E1 Security
Sanguine_Eva
 
Computer viruses and antiviruses
Computer viruses and antivirusesComputer viruses and antiviruses
Computer viruses and antiviruses
Sanguine_Eva
 
Cyber Crime and Security
Cyber Crime and Security Cyber Crime and Security
Cyber Crime and Security
Sanguine_Eva
 
Ad

Recently uploaded (20)

IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 

DNS server configuration

  • 2. INTRODUCTION TO DNS SERVER  DNS provides the resolution of host names to IP & vice versa. . e.g www.wbut.ac.in to 192.168.43.10 (IPv4)  Defines a hierarchical name space where each level of the namespace is separated by a “ . ” e.g 192.168.64.27(class B).
  • 3. Types of DNS Server Master DNS server:- Stores authorative records for your domain Slave DNS server:- Relies on master DNS server for data.
  • 4. Caching-only DNS server:- Stores recent requests like a proxy server. Forwarding –only DNS server:- Refers to all requests to other DNS servers.
  • 5. DNS Master server configuration STEP-1:  bind & caching name server .  rpm is required to configure DNS. Check them for install ,if not installed, install them as  [root@server~]# rpm –qa cach*  [root@server~]# rpm –qa bind*
  • 6. DNS Master server configuration STEP-2:  Set hostname to server.example.com .  [root@server~]# cat/etc/ sysconfig /network HOSTNAME= server.example.com  Set IP address to 192.168.0.254  [root@server~] ifconfig etho inet addr: 192.168.0.254
  • 7. DNS Master server configuration STEP-3:  Create the main configuration file for DNS, that is named.conf. • By default a sample file  /var/named/chroot/etc/named. caching- nameserver .conf ,is created  Edit this one by named.conf file or create new one as  [root@server etc]# vi/ var/named/chroot/etc/named.conf  Set directory location for Forward zone and Reverse lookup zone
  • 8. DNS Master server configuration  STEP-4:  Configure example.com.zone for forward zone and 0.168.192.in- address.arpa for reverse zone. They will be stored in “/var/named/chroot/var/named/” location.  Change directory to  [root@server named]# cd/ var/named/chroot/var/named  Copy sample file to name we have set in named.conf.  [root@server named]# cp localhost.zone example.com.zone  [root@server named]# cp named.local 0.168.192.in- addr.arpa.zone
  • 9. DNS Master server configuration  STEP-5:  Open forward zone file  [root@server named]# vi example.com.zone and modify as
  • 10. DNS Master server configuration STEP-5 contd: Open reverse lookup zone file  [root@server named]# vi 0.168.192.in-addr.arpa.zone and modify as
  • 11. DNS Master server configuration STEP-6: Change the ownership of these zone file to named group.  [root@server named]# chgrp named example.com.zone  [root@server named]# chgrp named 0.168.192.in- addr.arpa.zone
  • 12. DNS Master server configuration STEP-7:  Now start the named service  If service restart without any error then the master name server is successfully configured
  • 13. Summary  DNS is an integral part in most protocols used in the internet.  Makes the internet human friendly for all of us..  Is the world’s largest distributed database system.  Fits the international model perfectly.  In simple terms DNS is a mapping between names and IP addresses.

Editor's Notes

  • #8: STEP-3:Create the main configuration file for DNS, that is named.conf.By default a sample file/var/named/chroot/etc/named. caching- nameserver .conf ,is createdEdit this one by named.conf file or create new one as [root@server etc]# vi/ var/named/chroot/etc/named.confSet directory location for Forward zone and Reverse