READ Free Dumps For RedHat- RH302
Question ID 17504 | If any mail coming from outside of the local LAN block all mails. |
Option A | Answer : Outside the LAN means cracker.org. All host on exam on example.com domain and outside domain means cracker.org. To block the mail coming from cracker.org 1.vi /etc/mail/access @cracker.rogREJECT 2.service sendmail start | restart 3.chkconfig sendmail on |
Correct Answer | A |
Question ID 17505 | You have DHCP server, which assigns the IP, gateway and DNS server ip to Clients. |
Option A | Answer : 1.vi /etc/dhcpd.conf ddns-update-style none; option routers 192.168.0.1; option domain-name example.com; option domain-name-servers 192.168.0.254; default-lease-time 21600; max-lease-time 43200; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.1 192.168.0.254; host dns1 { 00; fixed-address 192.168.0.254; } host dns2 { 00; fixed-address 192.168.0.253; } } /etc/dhcpd.conf file is used to configure the DHCP. Some global options i.e Gateway, domainname, DNS server specified using option keyword. To assign as static ip from dhcp server, required the mac address of interface. dhcp_etc_t /etc/dhcpd.conf 3. Use the restorecon R /etc command to restore the selinux context of the file. 4.service dhcpd start | restart |
Correct Answer | A |