SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
maverick4489
 

Was ist angesagt? (20)

DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
DNS Record
DNS RecordDNS Record
DNS Record
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Dns
DnsDns
Dns
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Dns server
Dns serverDns server
Dns server
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
Dns server
Dns server Dns server
Dns server
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Dns 2
Dns 2Dns 2
Dns 2
 
Linux and DNS Server
Linux and DNS ServerLinux and DNS Server
Linux and DNS Server
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
 

Ähnlich wie DNS server configuration

Ähnlich wie 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
 
Dns
DnsDns
Dns
 
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
 

Mehr von 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
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 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.

Hinweis der Redaktion

  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