From the course: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Configure a caching-only DNS server - Red Hat Enterprise Linux Tutorial
From the course: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
Configure a caching-only DNS server
- [Instructor] For this exercise, you'll want to be logged into your rrhost1 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.comf file. Let's load it into VI by typing in sudo vi /etc/named.conf and hit Enter. Enter your password if prompted. Now go into insert 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 named-checkconf and hit Enter. If you don't get any errors, then start…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.