READ Free Dumps For RedHat- RH302
Question ID 17488 | Configure the DNS for example.com domain, where 192.100.0.20 is associated IP for www |
Option A | Answer : 1.rename the file named.caching-nameserver.conf into named.conf file located into /var/named/chroot/etc #mv /var/named/chroot/etc/named.caching-nameserver.conf /var/named/chroot/etc/named.conf named_conf_t /var/named/chroot/etc/named.conf If selinux context is mismatch use the restorecon R /var command 3. vi /var/named/chroot/etc/named.conf zone example.com IN { type master; file example.com.zone; }; /var/named/chroot/etc/named.conf file is used to register the zone as well as specify the global option for DNS server. There are two types of zone, i. Master, which contains the original data. ii. Slave, backup of master. Here is the example of master zone configuration. 4.vi /var/named/chroot/var/named/example.com.zone $TTL 345345 @ IN SOA @ webmaster.example.com.( 101;Serial Number 1H;Refresh Time 1M;Retry Time 1W;Expire Time 1D;Minimum Time to Live ) @ IN NS 192.100.0.X www IN A 192.100.0.20 named_zone_t /var/named/chroot/var/named/example.com.zone If selinux context is mismatch use the restorecon R /var command 6.service named start 7.rndc reload 8.chkconfig named on Zone file should create on /var/named/chroot/var/named. Default Directory Path is specified on /var/named/chroot/etc/named.conf file. $TTLTime To Live, How much seconds cache server stores the information about DNS. And Five Parameters specified Serial Number used by slave to synchronize with master server. Refresh and Retry Time used by slave server. NS is the Name (DNS) server where lookup the domain. A (Associated IP) for particular host. |
Correct Answer | A |
Question ID 17489 | You are working as an administrator of example.com domain. There are five web |
Option A | Answer : 1. Rename the file named.caching-nameserver.conf into named.conf file located into /var/named/chroot/etc #mv /var/named/chroot/etc/named.caching-nameserver.conf /var/named/chroot/etc/named.conf named_conf_t /var/named/chroot/etc/named.conf If selinux context is mismatch use the restorecon R /var command 3.vi /etc/named.conf zone example.com IN { type master; file example.com.zone; }; /var/named/chroot/etc/named.conf file is used to register the zone as well as specify the global option for DNS server. There are two types of zone, i. Master, which contains the original data. ii. Slave, backup of master. Here is the example of master zone configuration. 4.vi /var/named/chroot/var/named/example.com.zone $TTL 345345 @ IN SOA @ webmaster.example.com.( 101;Serial Number 1H;Refresh Time 1M;Retry Time 1W;Expire Time 1D;Minimum Time to Live ) @ IN NS 192.100.0.X www 0 IN A 192.100.0.1 www 0 IN A 192.100.0.2 www 0 IN A 192.100.0.3 www 0 IN A 192.100.0.4 www 0 IN A 192.100.0.5 mail IN A 192.100.0.6 mail1 IN A 192.100.0.7 mail2 IN A 192.100.0.8 @ IN MX 5 mail.example.com. @ IN MX 8 mail1.example.com. @ IN MX 10 mail2.example.com. 3.service named start 4.rndc reload 5.chkconfig named on named_zone_t /var/named/chroot/var/named/example.com.zone If selinux context is mismatch use the restorecon R /var command 7.service named start 8.rndc reload 9.chkconfig named on Zone file should create on /var/named/chroot/var/named. Default Directory Path is specified on /var/named/chroot/etc/named.conf file. $TTLTime To Live, How much seconds cache server stores the information about DNS. And Five Parameters specified Serial Number used by slave to synchronize with master server. Refresh and Retry Time used by slave server. NS is the Name (DNS) server where lookup the domain. A (Associated IP) for particular host. DNS has mechanism to load balance the request from clients. You can verify using host www.example.com command. MX resource rec |
Correct Answer | A |