SlideShare uma empresa Scribd logo
1 de 14
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

Mais conteúdo relacionado

Mais procurados (20)

Dns
DnsDns
Dns
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 
Domain name system
Domain name systemDomain name system
Domain name system
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Dns server
Dns serverDns server
Dns server
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
Dns
DnsDns
Dns
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Dns
DnsDns
Dns
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Dns 2
Dns 2Dns 2
Dns 2
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
DNS
DNSDNS
DNS
 
Dhcp
DhcpDhcp
Dhcp
 

Semelhante a DNS server configuration

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 ipv6Piyush 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 forwarderPiyush 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
 
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 ipv4Piyush 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 8Kaan 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 LinuxKonkona 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 ipv6Piyush Kumar
 
DNS Server Configuration
DNS Server ConfigurationDNS Server Configuration
DNS Server Configurationchacheng oo
 

Semelhante a DNS server configuration (20)

Linux04 dns 2
Linux04 dns 2Linux04 dns 2
Linux04 dns 2
 
BIND DNS Configuration Red Hat 5
BIND DNS Configuration Red Hat 5BIND DNS Configuration Red Hat 5
BIND DNS Configuration Red Hat 5
 
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 |...
 
Dns
DnsDns
Dns
 
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
 
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
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
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
 
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)
 
Linux Addministration
Linux AddministrationLinux Addministration
Linux Addministration
 
Modul server debian 5
Modul server debian 5Modul server debian 5
Modul server debian 5
 
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
 
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
 
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
 
DNS SERVER
DNS SERVERDNS SERVER
DNS SERVER
 
15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
 
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
 
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
 
DNS Server Configuration
DNS Server ConfigurationDNS Server Configuration
DNS Server Configuration
 
DNS
DNSDNS
DNS
 

Mais de Sanguine_Eva

JDEdwards E1 Security
JDEdwards E1 SecurityJDEdwards E1 Security
JDEdwards E1 SecuritySanguine_Eva
 
Computer viruses and antiviruses
Computer viruses and antivirusesComputer viruses and antiviruses
Computer viruses and antivirusesSanguine_Eva
 
Cyber Crime and Security
Cyber Crime and Security Cyber Crime and Security
Cyber Crime and Security Sanguine_Eva
 

Mais de Sanguine_Eva (7)

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

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

DNS server configuration

  • 1.
  • 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.

Notas do Editor

  1. 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