Root named /etc/nf /etc/nf /var/named/nuxzadmin /var/named/nuxzadmin It want to be in the context of named_conf_t If its Different than this then we need to restore the context using # restorecon /etc/nf Now we need to Check for the Error in the conf file and Zone.
2 named named 4096 Nov 16 2011 slaves.) Change the group to named using below Command [email protected] # chgrp named /var/named/nuxzadmin [email protected] # chgrp named /var/named/nuxzadmin Here we can see the Output now which changed to named group [email protected] # ls -l /var/named/ total.
Loopback /var/named/nuxzadmin.) Edit the file nuxzadmin [email protected] # vim /var/named/nuxzadmin TTL 86400 @ IN SOA nuxzadmin.208 IN PTR nuxzadmin.IP Address : # Hostname : nuxzadmin.Local Address: Now we Need to Setup the Slave DNS server Secondary DNS server (or) Slave DNS Server Host Deployed with rhel Server [email protected] # lsb_release -a LSB Version: Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release.2 (Santiago) Release:.2 Codename: Santiago.Rfc1912.zones include etc/y Save and Exit the nf using wq!Local, nodes Machines : IP Address : # Hostname : nuxzadmin.Description: Red Hat Enterprise Linux Server release.2 (Santiago).Local ; gamehouse games collection total 150 games DiG.7.3-P3-RedHat-9.7.3-8.P3.el6 nuxzadmin.Local Address: Name: linuxzadmin.Then Edit the Configuration of name server [email protected] # vim /etc/nf / / nf / / 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).201 IN PTR nuxzadmin.Masterdns A node1 A node2 A node3 A node4 A slavedns A Check the DNS Server using dig from Slave Server [email protected] # dig nuxzadmin.
( ; avira system speedup serial key serial 3600 ; refresh (1 hour) 1800 ; retry (30 minutes) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) NS nuxzadmin.DNS Domain Naming Service (or) Domain Name System DNS will resolve the host name for the particular IP address.Fwd masters ; ; ; zone"pa" IN type slave; file "slaves/v masters ; ; ; include etc/named.1 root named 168 Dec 15 2009 named.TTL 86400 ; 1 day linuxzadmin.Rfc1912.zones include etc/y Start the named Service and make it to Run in Multi Runlevels [email protected] # service named start Starting named: OK [email protected] # chkconfig named on [email protected] # chkconfig -list named named 0:off 1:off 2:on 3:on 4:on 5:on 6:off We Don't need.Local ; global options: cmd ; Got answer: ; - header - opcode: query, status: noerror, id: 51788 ; flags: qr aa rd ra; query: 1, answer: 1, authority: 2, additional: 1 ; question section: ;nuxzadmin.86400 IN A ; Query time: 1 msec ; server: #53 ; when: Sat May 10 23:58:32 2014 ; MSG size rcvd: 114 If we need to flush the DNS Server Caches Use Below Command # yum install nscd # nscd -i hosts That's.1 root named 1892 Feb rw-r.206 IN PTR nuxzadmin.options listen-on port 53 ; ; ; # Master DNS Servers IP listen-on-v6 port 53 :1; ; directory var/named dump-file statistics-file memstatistics-file allow-query localhost; /24; ; # IP Range of Hosts allow-transfer localhost; ; ; # Slave DNS Servers IP recursion yes; dnssec-enable yes;.
Use the Setup Command and assign the Primary and Secondary DNS server's We Don't need to Assing the hostname.) Just Assign the IP, Subnet, Gateway, pdns, sdns.) Restart the Network and Check the hostname.) Here i have not changed the hostname [email protected]
Local ; global options: cmd ; Got answer: ; - header - opcode: query, status: noerror, id: 11178 ; flags: qr aa rd ra; query: 1, answer: 1, authority: 2, additional: 1 ; question section: ;nuxzadmin.