SlideShare una empresa de Scribd logo
1 de 4
Descargar para leer sin conexión
How to Install DNS (BIND) on CentOS 6.x 
Here is the required information which will be used in configuration 
9 IP Address : 191.140.30.15 
9 Hostname : ns1 
9 Domain Name : dragongang.com 
9 FQDN : ns1.dragongang.com 
9 BIND Listen Port : 53 
9 BIND Forward Zone : fwd.dragongang.com 
9 BIND Reverse Zone : rev.dragongang.com 
¾ IP Address Configuration: 
o Assume that you have fresh centos installed on your box and logged in as root user. 
o Now from terminal check your ip address setting with following command 
cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=”eth0” 
BOOTPROTO=”dhcp” 
HWADDR=”DE:AD:BE:EF:CA:FE” 
IPV6INIT=”yes” 
NM_CONTROLLED=”yes” 
ONBOOT=”yes” 
TYPE=”Ethernet” 
UUID=”here will be something” 
o Now turn off network manager by following command 
service NetworkManager stop && chkconfig NetworkManager off 
o Now configure IP address as required by following command 
cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=”eth0” 
BOOTPROTO=”none” 
HWADDR=”DE:AD:BE:EF:CA:FE” 
IPV6INIT=”yes” 
NM_CONTROLLED=”no” 
ONBOOT=”yes” 
TYPE=”Ethernet” 
UUID=”here will be something” 
IPADDR=191.140.30.15 
NETMASK=255.255.255.0 
GATEWAY=191.140.30.1 
DNS1=191.140.30.15 
DNS2=8.8.8.8 
USERCTL=no 
o Now restart the networking service 
service network restart 
¾ Hostname Configuration: 
o Change your hostname with the following command 
echo "191.140.30.15 ns1 ns1.dragongang.com" >/etc/hosts 
¾ Resolver Configuration: 
o Change the /etc/resolv.conf file with the following command 
vim /etc/resolv.conf 
domain dragongang.com
search dragongang.com 
nameserver 191.140.30.15 
nameserver 8.8.8.8 
¾ Local Repository Create: 
o Now mount installation disk into /mnt, create a folder (localrepo) in / directory and copy all file 
from /mnt to /localrepo 
mount /dev/sr0 /mnt 
mkdir /localrepo 
cp -R /mnt/* /localrepo/ 
o Wait until finish copying all files into disk 
o Now Create repo file with your desired name 
mkdir /repos 
mv /etc/yum.repos.d/* /repos/ 
vim /etc/yum.repos.d/dragon.repo 
[dragonrepo] 
name=Linux Local Repo for Dragongang 
baseurl=file:///localrepo 
enabled=1 
gpgcheck=0 
yum clean all 
¾ Install BIND 
o Now Install bind using below command and follow the steps 
yum install bind bind-chroot bind-dyndb-ldap bind-utils* 
¾ Configure BIND 
o Change the blue marked lines as desired 
vim /etc/named.conf 
// 
// named.conf 
// 
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS 
// server as a caching only nameserver (as a localhost DNS resolver only). 
// 
// See /usr/share/doc/bind*/sample/ for example named configuration files. 
// 
options { 
listen-on port 53 { 127.0.0.1; 191.140.30.15; }; 
listen-on-v6 port 53 { ::1; }; 
directory "/var/named"; 
dump-file "/var/named/data/cache_dump.db"; 
statistics-file "/var/named/data/named_stats.txt"; 
memstatistics-file "/var/named/data/named_mem_stats.txt"; 
allow-query { localhost; any; }; 
recursion no; 
dnssec-enable yes; 
dnssec-validation yes; 
dnssec-lookaside auto; 
/* Path to ISC DLV key */ 
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic"; 
}; 
logging { 
channel default_debug { 
file "data/named.run"; 
severity dynamic; 
}; 
}; 
zone "." IN { 
type hint; 
file "named.ca"; 
}; 
//Forward Zone File Declaration 
zone “dragongang.com” IN { 
type master; 
file “fwd.dragongang.com”; 
}; 
//Reverse Zone File Declaration 
zone “30.140.191.in-addr.arpa” IN { 
type master; 
file “rev.dragongang.com”; 
}; 
include "/etc/named.rfc1912.zones"; 
include "/etc/named.root.key"; 
o Now Create Zone Files as stated in /etc/named.conf 
cp /var/named/named.localhost /var/named/fwd.dragongang.com 
cp /var/named/named.loopback /var/named/rev.dragongang.com 
vim /var/named/fwd.dragongang.com 
$TTL 1D 
@ IN SOA dragongang.com. root.dragongang.com. ( 
2014091401 ; serial 
1D ; refresh 
1H ; retry 
1W ; expire 
3H ) ; minimum 
@ IN NS ns1.dragongang.com. 
ns1 IN A 191.140.30.15 
vim /var/named/rev.dragongang.com 
$TTL 1D 
@ IN SOA dragongang.com. root.dragongang.com. ( 
2014091401 ; serial 
1D ; refresh 
1H ; retry 
1W ; expire
3H ) ; minimum 
@ IN NS ns1.dragongang.com. 
ns1 IN A 191.140.30.15 
15 IN PTR ns1.dragongang.com. 
o Now Change the file owner and permission 
chown named:named /var/named/fwd.dragongang.com /var/named/rev.dragongang.com 
/etc/named.conf 
chmod 755 /var/named/fwd.dragongang.com /var/named/rev.dragongang.com /etc/named.conf 
o Now Start BIND Service by following command 
service named start && chkconfig named on 
o Now check using nslookup 
nslookup ns1.dragongang.com 
dig dragongang.com 
¾ IPTables Configuration 
o Accept Traffic for 53 port from tcp and udp protocol using following command 
iptables -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT 
service iptables save 
service iptables restart 
o Similarly Accept Traffic for you desired port 
o Now Reboot your server and check the services.

Más contenido relacionado

La actualidad más candente

One Page Linux Manual
One Page Linux ManualOne Page Linux Manual
One Page Linux Manual
dummy
 

La actualidad más candente (20)

One Page Linux Manual
One Page Linux ManualOne Page Linux Manual
One Page Linux Manual
 
The Linux Command Cheat Sheet
The Linux Command Cheat SheetThe Linux Command Cheat Sheet
The Linux Command Cheat Sheet
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
 
Bind How To
Bind How ToBind How To
Bind How To
 
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
 
Linux test paper2
Linux test paper2Linux test paper2
Linux test paper2
 
Arch Linux Cheat
Arch Linux CheatArch Linux Cheat
Arch Linux Cheat
 
Basic Linux commands
Basic Linux commandsBasic Linux commands
Basic Linux commands
 
3.1.a linux commands reference
3.1.a linux commands reference3.1.a linux commands reference
3.1.a linux commands reference
 
Red Hat Linux cheat sheet
Red Hat Linux cheat sheetRed Hat Linux cheat sheet
Red Hat Linux cheat sheet
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
[PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list [PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list
 
DNS – Domain Name Service
DNS – Domain Name ServiceDNS – Domain Name Service
DNS – Domain Name Service
 
Rhel3
Rhel3Rhel3
Rhel3
 
Object Storage with Gluster
Object Storage with GlusterObject Storage with Gluster
Object Storage with Gluster
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-list
 
Unix 6 en
Unix 6 enUnix 6 en
Unix 6 en
 
Using the command line on macOS
Using the command line on macOSUsing the command line on macOS
Using the command line on macOS
 
Archlinux install
Archlinux installArchlinux install
Archlinux install
 

Destacado

Chapter 4 configuring and managing the dns server role
Chapter 4   configuring and managing the dns server roleChapter 4   configuring and managing the dns server role
Chapter 4 configuring and managing the dns server role
Luis Garay
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
Ahmed Mekkawy
 
Cent os 5.1 - configuring samba 3.0 to use the ads security mode
Cent os 5.1  - configuring samba 3.0 to use the ads security modeCent os 5.1  - configuring samba 3.0 to use the ads security mode
Cent os 5.1 - configuring samba 3.0 to use the ads security mode
B Sasi Kumar
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
Amandeep Kaur
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
Anand Grewal
 

Destacado (19)

Presentation
PresentationPresentation
Presentation
 
70 640
70 64070 640
70 640
 
6421 b Module-03
6421 b Module-036421 b Module-03
6421 b Module-03
 
Chapter 4 configuring and managing the dns server role
Chapter 4   configuring and managing the dns server roleChapter 4   configuring and managing the dns server role
Chapter 4 configuring and managing the dns server role
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
 
DNS
DNSDNS
DNS
 
Cent os 5.1 - configuring samba 3.0 to use the ads security mode
Cent os 5.1  - configuring samba 3.0 to use the ads security modeCent os 5.1  - configuring samba 3.0 to use the ads security mode
Cent os 5.1 - configuring samba 3.0 to use the ads security mode
 
6. centos networking
6. centos networking6. centos networking
6. centos networking
 
Configuring RAID 1 on CentOs
Configuring RAID 1 on CentOsConfiguring RAID 1 on CentOs
Configuring RAID 1 on CentOs
 
Building a Linux IPv6 DNS Server Project review PPT v3.0 First review
Building a Linux IPv6 DNS Server Project review PPT v3.0 First reviewBuilding a Linux IPv6 DNS Server Project review PPT v3.0 First review
Building a Linux IPv6 DNS Server Project review PPT v3.0 First review
 
DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
 
Seo2 india devang barot - google public dns
Seo2 india   devang barot - google public dnsSeo2 india   devang barot - google public dns
Seo2 india devang barot - google public dns
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
BIND 9 logging best practices
BIND 9 logging best practicesBIND 9 logging best practices
BIND 9 logging best practices
 
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
How To Install CentOS 7
How To Install CentOS 7How To Install CentOS 7
How To Install CentOS 7
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
Open dns configuring opendns on aruba controller
Open dns   configuring opendns on aruba controllerOpen dns   configuring opendns on aruba controller
Open dns configuring opendns on aruba controller
 

Similar a DNS (BIND) on CentOS

Similar a DNS (BIND) on CentOS (20)

testing-nfs
testing-nfstesting-nfs
testing-nfs
 
ERP System Implementation Kubernetes Cluster with Sticky Sessions
ERP System Implementation Kubernetes Cluster with Sticky Sessions ERP System Implementation Kubernetes Cluster with Sticky Sessions
ERP System Implementation Kubernetes Cluster with Sticky Sessions
 
Continuous delivery with docker
Continuous delivery with dockerContinuous delivery with docker
Continuous delivery with docker
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
 
3 manual installation of open vpn
3 manual installation of open vpn3 manual installation of open vpn
3 manual installation of open vpn
 
Linux configer
Linux configerLinux configer
Linux configer
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfs
 
DNS Configure
DNS Configure DNS Configure
DNS Configure
 
Hide your development environment and application in a container
Hide your development environment and application in a containerHide your development environment and application in a container
Hide your development environment and application in a container
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and Production
 
Dev ops
Dev opsDev ops
Dev ops
 
Kickstart
KickstartKickstart
Kickstart
 
Oracle cluster installation with grid and iscsi
Oracle cluster  installation with grid and iscsiOracle cluster  installation with grid and iscsi
Oracle cluster installation with grid and iscsi
 
Docker command
Docker commandDocker command
Docker command
 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
 
Installing odoo v8 from github
Installing odoo v8 from githubInstalling odoo v8 from github
Installing odoo v8 from github
 
Sun raysetup
Sun raysetupSun raysetup
Sun raysetup
 
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
 
Challenges of container configuration
Challenges of container configurationChallenges of container configuration
Challenges of container configuration
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 

Último

Último (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

DNS (BIND) on CentOS

  • 1. How to Install DNS (BIND) on CentOS 6.x Here is the required information which will be used in configuration 9 IP Address : 191.140.30.15 9 Hostname : ns1 9 Domain Name : dragongang.com 9 FQDN : ns1.dragongang.com 9 BIND Listen Port : 53 9 BIND Forward Zone : fwd.dragongang.com 9 BIND Reverse Zone : rev.dragongang.com ¾ IP Address Configuration: o Assume that you have fresh centos installed on your box and logged in as root user. o Now from terminal check your ip address setting with following command cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=”eth0” BOOTPROTO=”dhcp” HWADDR=”DE:AD:BE:EF:CA:FE” IPV6INIT=”yes” NM_CONTROLLED=”yes” ONBOOT=”yes” TYPE=”Ethernet” UUID=”here will be something” o Now turn off network manager by following command service NetworkManager stop && chkconfig NetworkManager off o Now configure IP address as required by following command cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=”eth0” BOOTPROTO=”none” HWADDR=”DE:AD:BE:EF:CA:FE” IPV6INIT=”yes” NM_CONTROLLED=”no” ONBOOT=”yes” TYPE=”Ethernet” UUID=”here will be something” IPADDR=191.140.30.15 NETMASK=255.255.255.0 GATEWAY=191.140.30.1 DNS1=191.140.30.15 DNS2=8.8.8.8 USERCTL=no o Now restart the networking service service network restart ¾ Hostname Configuration: o Change your hostname with the following command echo "191.140.30.15 ns1 ns1.dragongang.com" >/etc/hosts ¾ Resolver Configuration: o Change the /etc/resolv.conf file with the following command vim /etc/resolv.conf domain dragongang.com
  • 2. search dragongang.com nameserver 191.140.30.15 nameserver 8.8.8.8 ¾ Local Repository Create: o Now mount installation disk into /mnt, create a folder (localrepo) in / directory and copy all file from /mnt to /localrepo mount /dev/sr0 /mnt mkdir /localrepo cp -R /mnt/* /localrepo/ o Wait until finish copying all files into disk o Now Create repo file with your desired name mkdir /repos mv /etc/yum.repos.d/* /repos/ vim /etc/yum.repos.d/dragon.repo [dragonrepo] name=Linux Local Repo for Dragongang baseurl=file:///localrepo enabled=1 gpgcheck=0 yum clean all ¾ Install BIND o Now Install bind using below command and follow the steps yum install bind bind-chroot bind-dyndb-ldap bind-utils* ¾ Configure BIND o Change the blue marked lines as desired vim /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { 127.0.0.1; 191.140.30.15; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { localhost; any; }; recursion no; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto; /* Path to ISC DLV key */ bindkeys-file "/etc/named.iscdlv.key";
  • 3. managed-keys-directory "/var/named/dynamic"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; //Forward Zone File Declaration zone “dragongang.com” IN { type master; file “fwd.dragongang.com”; }; //Reverse Zone File Declaration zone “30.140.191.in-addr.arpa” IN { type master; file “rev.dragongang.com”; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; o Now Create Zone Files as stated in /etc/named.conf cp /var/named/named.localhost /var/named/fwd.dragongang.com cp /var/named/named.loopback /var/named/rev.dragongang.com vim /var/named/fwd.dragongang.com $TTL 1D @ IN SOA dragongang.com. root.dragongang.com. ( 2014091401 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H ) ; minimum @ IN NS ns1.dragongang.com. ns1 IN A 191.140.30.15 vim /var/named/rev.dragongang.com $TTL 1D @ IN SOA dragongang.com. root.dragongang.com. ( 2014091401 ; serial 1D ; refresh 1H ; retry 1W ; expire
  • 4. 3H ) ; minimum @ IN NS ns1.dragongang.com. ns1 IN A 191.140.30.15 15 IN PTR ns1.dragongang.com. o Now Change the file owner and permission chown named:named /var/named/fwd.dragongang.com /var/named/rev.dragongang.com /etc/named.conf chmod 755 /var/named/fwd.dragongang.com /var/named/rev.dragongang.com /etc/named.conf o Now Start BIND Service by following command service named start && chkconfig named on o Now check using nslookup nslookup ns1.dragongang.com dig dragongang.com ¾ IPTables Configuration o Accept Traffic for 53 port from tcp and udp protocol using following command iptables -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT iptables -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT service iptables save service iptables restart o Similarly Accept Traffic for you desired port o Now Reboot your server and check the services.