Close
Social profiles

Test your DNS server Check the DNS Server IP in the /etc/resolve.conf file, before testing the server. # cat /etc/resolve.conf search tecexpertz.com nameserver 192.168.1.2 # nslookup dns.tecexpertz.com [root@dns1 ~]# nslookup dns.tecexpertz.com Server: 192.168.1.2 Address: 192.168.1.2#53 Name: dns.tecexpertz.com Address: 192.168.1.2 # nslookup 192.168.1.2 [root@dns1 ~]# nslookup 192.168.1.2 Server: 192.168.1.2 Address: 192.168.1.2#53 2.1.168.192.in-addr.arpa Continue Reading

Open /etc/named.conf file and Edit the following: NOTE: you can see the changed line in BLUE color # vi /etc/named.conf options { listen-on port 53 { 192.168.1.2; }; # 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 { any; }; recursion yes; dnssec-enable Continue Reading

BIND (Berkeley Internet Name Daemon) is a DNS server that comes with the open Source distributions like, linux, it translate the domain name into the IP Addresses. Installation of required packages. We use yum to install BIND packages. # yum -y install bind bind-libs bind-utils Set BIND service start on system boot Continue Reading

After Installing the BIND software, you have to configure the network settings. Server Name : dns.tecexpertz.com IP : 192.168.1.2 First of all you need to be login as root; [root@dns ~]$ su – Assign static IP address: [root@dns ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=”eth0″ HWADDR=”00:0C:29:0D:FB:E2″ NM_CONTROLLED=”yes” ONBOOT=”yes” BOOTPROTO=”static” IPADDR=192.168.1.2 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 Then you need Continue Reading

Close