nerdexam
Red_Hat

RH302 · Question #94

101: You are working as an administrator of example.com domain. There are five web servers( www), three mail servers(mail1, mail2, mail3). Configure the DNS for www, mail, mail1, mail2 by specifying…

Answers: 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 2. Check the permission and ownership as well as SELinux Context should be…

Network configuration

Question

101: You are working as an administrator of example.com domain. There are five web servers( www), three mail servers(mail1, mail2, mail3). Configure the DNS for www, mail, mail1, mail2 by specifying mail.example.com is the Primary Mail Server for example.com domain. Where 192.168.100.1-5 for www, 6,7,8 for mail, mail1, m ail2 and 192.0.0.X for DNS.

Explanation

Answers:

  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
  2. Check the permission and ownership as well as SELinux Context should be like as: -rw-r----- root named system_u:object_r:named_conf_t 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"; };

Topics

#DNS#MX records#multiple A records#BIND zone file

Community Discussion

No community discussion yet for this question.

Full RH302 Practice