SlideShare a Scribd company logo
DNS SERVER ORPRIMARYDNS
DNS Configuration
1. DNS Server MininumRequirement :
 Staic IP address .
 Fully QualifiedDomain Name(FQDN) .
2. DNS = DomainName Server
8/7/2018 MOHSIN HASAN
8/7/2018 MOHSIN HASAN
1.Static IP address configuration
#vim /etc/sysconfig/network-script/ifcfg-ens33
# systemctl restart network //restart network
# systemctl enable network //enable network
Configure DNS
PackageName= bind(breaklyinternet named domain)
ServiceName =named . Port =53 .
Server Name=DNS(Domain NameServer)
ConfigFile :
 /etc/hostname
 /etc/hosts
 /etc/named.conf
 /etc/named.rfc1912.zones
Zone FileDirectory : /var/named
8/7/2018 MOHSIN HASAN
DNS of Two Zone That there are:
 Forward zone File = named.localhost
 Reverse Zone File = named.loopback
Functions Of DNS:
 Forward Lookup = Hostname To IP
 Reverse lookup = IPTo Hostname
8/7/2018 MOHSIN HASAN
SET HOSTNAME
# hostnamectl set-hostname dns.mmc.com
# hostname //check
OR
# vim /etc/hostname
8/7/2018 MOHSIN HASAN
HOSTNAME
8/7/2018 MOHSIN HASAN
• dns.mmc.com //hostname
dns = host mmc = domain
. = root domain com = Organizational TLD
bd = Country Level TLD( top level domain)
Checking and installing Packages :
# rpm –qa | grep bind //check bind packages
# yum install bind* -y //install bind packages
8/7/2018 MOHSIN HASAN
8/7/2018 MOHSIN HASAN
Config & EditHOSTS File
# vim/etc/hosts //edit hosts file
192.168.10.2 dns.example.com dns //edit this linein last
OR
8/7/2018 MOHSIN HASAN
Config& Editnamed.conf File
#vim /etc/named.conf //edit named.conf file
Listen-on port 53 { any; } //any means any ip
Allow-quary { any; } //any oran IP block ip/24
OR
8/7/2018 MOHSIN HASAN
Config& Edit named.rfc1912.zones File
#cp /etc/named.rfc1912.zones /etc/named.rfc1912.zones.back //backup zonefile
# vim/etc/named.rfc1912.zones //edit zonefile add
zone"example.com" IN{
type master;
file "forward.zone";
allow-update { none;};
};
zone "10.168.192.in-addr.arpa"IN{
type master;
file "reverse.zone";
allow-update { none;};
};
OR
8/7/2018 MOHSIN HASAN
# vimforward.zone
$TTL1D
@ INSOA dns.example.com.mohsin.gmail.com.(
0 ; serial
1D ;refresh
1H ;retry
1W ;expire
3H) ;minimum
IN NS dns.example.com.
IN A 192.168.10.16
dns IN A 192.168.10.16
OR
# cd /var/named //switch to /var/nameddirectory
# cp named.localhost forward.zone //copy namedfile as forward.zone
# cp named.loopback reverse.zone //copy namedfile as reverse.zone
Configureforwardzone File
8/7/2018 MOHSIN HASAN
Configure reverse zone File
# vim reverse.zone
$TTL 1D
@ IN SOA dns.example.com.mohsin.gmail.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H) ; minimum
IN NS dns.example.com.
IN A 192.168.10.16
16 IN PTR dns.example.com.
OR
#chgrp named forward.zone //changegroup to named
# chgrpnamed reverse.zone //changegroup to named
8/7/2018 MOHSIN HASAN
# vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=dns.example.com
OR
Configuring network file :
8/7/2018 MOHSIN HASAN
# dig dns.example.com //check dns server
# dig –x 192.168.10.16 //check dns reves look-up
# nslookup //check dns server
OR
# systemctl restart named //restart namedservice
# systemctl enable named //enable namedservice
# systemct restart network //restart network service
# firewall-cmd --permanent --add-service=dns //alow firewall
# firewall-cmd --reload //reload firewall
QUESTIONS?
8/7/2018 MOHSIN HASAN
THANK YOU
8/7/2018 MOHSIN HASAN

More Related Content

What's hot

Nmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumerationNmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumeration
Robert Rowley
 
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq HanayshaNessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Hanaysha
 
Setting ubuntu server sebagai pc router
Setting ubuntu server sebagai pc routerSetting ubuntu server sebagai pc router
Setting ubuntu server sebagai pc router
Nimrod Leon Scott Kenedy
 
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 Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
Isham Rashik
 
Network configuration
Network configurationNetwork configuration
Network configuration
engshemachi
 
Linux administration ii-parti
Linux administration ii-partiLinux administration ii-parti
Linux administration ii-parti
Sehla Loussaief Zayen
 
L'odyssée de la log
L'odyssée de la logL'odyssée de la log
L'odyssée de la log
Gérald Quintana
 
Pound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de CargaPound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de Carga
gsroma
 
Linux Server Start
Linux Server StartLinux Server Start
Linux Server Start
Gavin Quan
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
Slamet Achwandy
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
tmavroidis
 
Nginx cheat sheet
Nginx cheat sheetNginx cheat sheet
Nginx cheat sheet
Lam Hoang
 
Linux Kernel Parameter Tuning
Linux Kernel Parameter TuningLinux Kernel Parameter Tuning
Linux Kernel Parameter Tuning
Ryo Sasaki
 
Basic dns-mod
Basic dns-modBasic dns-mod
Basic dns-mod
Harry Potter
 

What's hot (18)

Nmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumerationNmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumeration
 
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq HanayshaNessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
 
Setting ubuntu server sebagai pc router
Setting ubuntu server sebagai pc routerSetting ubuntu server sebagai pc router
Setting ubuntu server sebagai pc router
 
Fail2ban
Fail2banFail2ban
Fail2ban
 
BIND DNS Configuration Red Hat 5
BIND DNS Configuration Red Hat 5BIND DNS Configuration Red Hat 5
BIND DNS Configuration Red Hat 5
 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
 
Network configuration
Network configurationNetwork configuration
Network configuration
 
Linux administration ii-parti
Linux administration ii-partiLinux administration ii-parti
Linux administration ii-parti
 
L'odyssée de la log
L'odyssée de la logL'odyssée de la log
L'odyssée de la log
 
Pound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de CargaPound & Varnish - Cache e Balanceamento de Carga
Pound & Varnish - Cache e Balanceamento de Carga
 
Linux Server Start
Linux Server StartLinux Server Start
Linux Server Start
 
Log
LogLog
Log
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
 
Nginx cheat sheet
Nginx cheat sheetNginx cheat sheet
Nginx cheat sheet
 
Dns20
Dns20Dns20
Dns20
 
Linux Kernel Parameter Tuning
Linux Kernel Parameter TuningLinux Kernel Parameter Tuning
Linux Kernel Parameter Tuning
 
Basic dns-mod
Basic dns-modBasic dns-mod
Basic dns-mod
 

Similar to DNS SERVER

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!
 
Web server
Web serverWeb server
Web server
MOHSIN HASAN
 
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAILDNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
Utah Networxs Consultoria e Treinamento
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configuration
Sanguine_Eva
 
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
 
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
 
DNS windows server(2008R2) & linux(SLES 11)
DNS windows server(2008R2) & linux(SLES 11)DNS windows server(2008R2) & linux(SLES 11)
DNS windows server(2008R2) & linux(SLES 11)
Tola LENG
 
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
 
Introduction to JumpStart
Introduction to JumpStartIntroduction to JumpStart
Introduction to JumpStart
Scott McDermott
 
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
 
DHCP SERVER ( RHCE Linux)
DHCP SERVER ( RHCE Linux)DHCP SERVER ( RHCE Linux)
DHCP SERVER ( RHCE Linux)
MOHSIN HASAN
 
Dns
DnsDns
DNS Server Configuration
DNS Server ConfigurationDNS Server Configuration
DNS Server Configuration
chacheng oo
 
DNS – Domain Name Service
DNS – Domain Name ServiceDNS – Domain Name Service
DNS – Domain Name Service
Johnny Fortune
 
DNS
DNSDNS
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
Jalpa 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 8
Kaan Aslandağ
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
Vinod Gour
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntaxguestcc37e8c
 
Ahmad-debian
Ahmad-debianAhmad-debian
Ahmad-debiansyaif-sae
 

Similar to DNS SERVER (20)

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 |...
 
Web server
Web serverWeb server
Web server
 
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAILDNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configuration
 
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
 
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
 
DNS windows server(2008R2) & linux(SLES 11)
DNS windows server(2008R2) & linux(SLES 11)DNS windows server(2008R2) & linux(SLES 11)
DNS windows server(2008R2) & linux(SLES 11)
 
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
 
Introduction to JumpStart
Introduction to JumpStartIntroduction to JumpStart
Introduction to JumpStart
 
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
 
DHCP SERVER ( RHCE Linux)
DHCP SERVER ( RHCE Linux)DHCP SERVER ( RHCE Linux)
DHCP SERVER ( RHCE Linux)
 
Dns
DnsDns
Dns
 
DNS Server Configuration
DNS Server ConfigurationDNS Server Configuration
DNS Server Configuration
 
DNS – Domain Name Service
DNS – Domain Name ServiceDNS – Domain Name Service
DNS – Domain Name Service
 
DNS
DNSDNS
DNS
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
 
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 Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntax
 
Ahmad-debian
Ahmad-debianAhmad-debian
Ahmad-debian
 

Recently uploaded

The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 

Recently uploaded (20)

The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 

DNS SERVER

  • 2. DNS Configuration 1. DNS Server MininumRequirement :  Staic IP address .  Fully QualifiedDomain Name(FQDN) . 2. DNS = DomainName Server 8/7/2018 MOHSIN HASAN
  • 3. 8/7/2018 MOHSIN HASAN 1.Static IP address configuration #vim /etc/sysconfig/network-script/ifcfg-ens33 # systemctl restart network //restart network # systemctl enable network //enable network
  • 4. Configure DNS PackageName= bind(breaklyinternet named domain) ServiceName =named . Port =53 . Server Name=DNS(Domain NameServer) ConfigFile :  /etc/hostname  /etc/hosts  /etc/named.conf  /etc/named.rfc1912.zones Zone FileDirectory : /var/named 8/7/2018 MOHSIN HASAN
  • 5. DNS of Two Zone That there are:  Forward zone File = named.localhost  Reverse Zone File = named.loopback Functions Of DNS:  Forward Lookup = Hostname To IP  Reverse lookup = IPTo Hostname 8/7/2018 MOHSIN HASAN
  • 6. SET HOSTNAME # hostnamectl set-hostname dns.mmc.com # hostname //check OR # vim /etc/hostname 8/7/2018 MOHSIN HASAN
  • 7. HOSTNAME 8/7/2018 MOHSIN HASAN • dns.mmc.com //hostname dns = host mmc = domain . = root domain com = Organizational TLD bd = Country Level TLD( top level domain)
  • 8. Checking and installing Packages : # rpm –qa | grep bind //check bind packages # yum install bind* -y //install bind packages 8/7/2018 MOHSIN HASAN
  • 9. 8/7/2018 MOHSIN HASAN Config & EditHOSTS File # vim/etc/hosts //edit hosts file 192.168.10.2 dns.example.com dns //edit this linein last OR
  • 10. 8/7/2018 MOHSIN HASAN Config& Editnamed.conf File #vim /etc/named.conf //edit named.conf file Listen-on port 53 { any; } //any means any ip Allow-quary { any; } //any oran IP block ip/24 OR
  • 11. 8/7/2018 MOHSIN HASAN Config& Edit named.rfc1912.zones File #cp /etc/named.rfc1912.zones /etc/named.rfc1912.zones.back //backup zonefile # vim/etc/named.rfc1912.zones //edit zonefile add zone"example.com" IN{ type master; file "forward.zone"; allow-update { none;}; }; zone "10.168.192.in-addr.arpa"IN{ type master; file "reverse.zone"; allow-update { none;}; }; OR
  • 12. 8/7/2018 MOHSIN HASAN # vimforward.zone $TTL1D @ INSOA dns.example.com.mohsin.gmail.com.( 0 ; serial 1D ;refresh 1H ;retry 1W ;expire 3H) ;minimum IN NS dns.example.com. IN A 192.168.10.16 dns IN A 192.168.10.16 OR # cd /var/named //switch to /var/nameddirectory # cp named.localhost forward.zone //copy namedfile as forward.zone # cp named.loopback reverse.zone //copy namedfile as reverse.zone Configureforwardzone File
  • 13. 8/7/2018 MOHSIN HASAN Configure reverse zone File # vim reverse.zone $TTL 1D @ IN SOA dns.example.com.mohsin.gmail.com. ( 0 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H) ; minimum IN NS dns.example.com. IN A 192.168.10.16 16 IN PTR dns.example.com. OR #chgrp named forward.zone //changegroup to named # chgrpnamed reverse.zone //changegroup to named
  • 14. 8/7/2018 MOHSIN HASAN # vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dns.example.com OR Configuring network file :
  • 15. 8/7/2018 MOHSIN HASAN # dig dns.example.com //check dns server # dig –x 192.168.10.16 //check dns reves look-up # nslookup //check dns server OR # systemctl restart named //restart namedservice # systemctl enable named //enable namedservice # systemct restart network //restart network service # firewall-cmd --permanent --add-service=dns //alow firewall # firewall-cmd --reload //reload firewall