The following questions will help you measure your understanding of the material presented in this chapter. As no multiple choice questions appear on the Red Hat exams, no multiple choice questions appear in this book. These questions exclusively test your understanding of the chapter. It is okay if you have another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams. There may be more than one answer to many of these questions.
1. | If you're configuring a connection from a client to a DNS server, what file would you use? ________________________________________________ |
|
2. | If your ISP has a DNS server address of 10.11.12.13, what directive would you add to the DNS client configuration file used in question 1? ________________________________________________ |
|
Answers
1. | If you want to configure a connection from a client to a DNS server, you would use /etc/resolv.conf. |
2. | If your ISP has a DNS server address of 10.11.12.13, you would add the following directive to the /etc/resolv.conf file:
nameserver 10.11.12.13 |
3. | If you configure DNS communication on port 53, what changes would you make to a firewall to support access by other clients to the local DNS server? ___________________________________________________ |
|
4. | What file includes a basic template for a DNS caching nameserver? ___________________________________________________ |
|
5. | What file includes a basic template for a master DNS server? ___________________________________________________ |
|
6. | If you've installed the bind-chroot RPM, where will you find the actual DNS server configuration files? ___________________________________________________ |
|
7. | If you've installed the bind-chroot RPM, where will you find links to the actual DNS server configuration files? ___________________________________________________ |
|
8. | Why would you configure a reverse DNS zone database? ___________________________________________________ |
|
9. | If there are errors when you start the DNS service, where are error messages available by default? ___________________________________________________ |
|
10. | What command makes sure that the DNS service starts the next time you boot Linux? ___________________________________________________ |
|
Answers
3. | To support access by other clients to the local DNS server, make sure TCP and UDP traffic is supported through the firewall on port 53. |
4. | The /etc/named.caching-nameserver.conf file includes a basic template for a DNS caching nameserver. Alternatively, named.conf in the /usr/share/system-config-bind/profiles/default directory also includes a default caching nameserver template. |
5. | The /etc/named.rfc1912.zones file includes a basic template for a master DNS server. Sample files are also available in the /usr/share/doc/bind-versionnum/sample/ directory. |
6. | If you've installed the bind-chroot RPM, the actual DNS server configuration files can be found in the /var/named/chroot/etc and /var/named/chroot/var/named directories. |
7. | If you've installed the bind-chroot RPM, you can find links to the actual DNS server configuration files in the /etc and /var/named directories. |
8. | You would configure a reverse DNS zone database to help other services such as sendmail verify the domain names associated with IP addresses. |
9. | If there are errors when you start the DNS service, error messages are available by default in /var/log/messages. |
10. | The command that makes sure that the DNS service starts the next time you boot Linux is
# chkconfig named on |
11. | What command lists the data associated with the example.net domain on a properly configured DNS server? ___________________________________________________ |
|
12. | After you revise the DNS database files, what command most appropriately rereads the database, without restarting the service? ___________________________________________________ |
|
Answers
11. | The command that lists the data associated with the example.net domain on a properly configured DNS server is
# host -l example.net |
12. | After you revise the DNS database files, the command that most appropriately rereads the database, without restarting the service, is
# rndc reload |