From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Configure a caching-only name server

Configure a caching-only name server

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Configure a caching-only name server

- [Instructor] For this exercise, you'll want to be logged into your rhhost1 VM and have a terminal open. Since we already installed the bind and bind-utils packages, we won't need to do that now. They do need to be installed in order to proceed, though. To configure a caching only DNS server you'll need to edit the named.com file. Let's load it into vi by typing in sudo space vi space /etc/named.com and hit enter. Enter your password if prompted. Now go into answer mode by pressing I. We want to change the listen-on port from local host to any. If you want to also answer IP version six requests, change the following line from local host to any as well. In addition, change the allow-query line to any. Now scroll down past the comment and change both dnssec lines to no. And save and exit by pressing escape, colon, X, exclamation mark and hitting enter. Let's check the DNS configuration file using named-checkconf. Type in sudo space named-checkconf and hit enter. If you don't get any…

Contents