READ Free Dumps For RedHat- RH302
Question ID 17500 | Configure the DNS server by allowing query only from the 192.168.0.0/24 Local |
Option A | Answer : 1.vi /var/named/chroot/etc/named.conf acl localnet { 192.168.0.0/24; }; options { allow-query { localnet; }; }; 2.service named restart | start allow-query is a global option on /var/named/chroot/etc/named.conf, specifies an address match list of hosts allowed to query this server. If this option is not set, any host can query the server. |
Correct Answer | A |
Question ID 17501 | You have a directory /local. You want to make available that directory to all the question_answerVIEW ANSWER |
Option A | Answer : 1.vi /etc/exports /local*.example.com(rw,sync) trusted.cracker.org(ro,sync) exports_t /etc/exports Use the restorecon R /etc command to restore the selinux context of the file. service nfs start | restart service portmap start | restart chkconfig nfs on chkconfig portmap on Pathclient(permission) Shared Directory Path, Client can be single host or domain name or ip address. Permission should specify without space with client lists in parentheses. NFS is RPC service so portmapper service should restart after starting the nfs service. We can specify multiple clients list separating by space with different shared option. |
Correct Answer | A |