Setting up DNS forwarding on a local server is recommended for enterprises where all the traffic is directed to the internet through a server.
Infrastructure with DNS Server pointing to Lumu This guide walks you through the DNS configuration process in a UNIX BIND-based DNS server.his guide will walk you through the DNS configuration process in a UNIX BIND-based DNS server.
Requirements
-
A Local DNS server running a Linux distribution.
Edit Linux DNS Settings
Note: When creating this guide, we used Linux CentOS versions 7 and 8. The steps may vary on other distributions.
On most Linux server distributions, the system’s DNS server information for name resolution is defined in the
/etc/named.conf
file. However, this directory and filename can vary depending on the Linux distribution. We recommend creating a backup copy (
/etc/named.conf
) and then editing the original file.
First, edit the name servers file, adding the Lumu IP addresses or the IP addresses of the Virtual Appliance you created inside the “options” parameter of the
/etc/named.conf
file. Example:
forwarders {
50.17.0.10;
3.87.85.24;
};
forward only;
Setting Lumu IP addresses on a Linux server
Remember
: the Lumu DNS resolvers IPv4 addresses are:
50.17.0.10
3.87.85.24
Ensure that your new settings are working after saving them. For CentOS, run the following command:
sudo named-checkconf
If there are no syntax errors in your configuration, the shell prompt will return immediately without displaying any output (blank). If any syntax errors are found, you will be alerted to the error and line number where it occurs. If this happens, go back and check your files for errors.
Once you confirm that your configuration does not have any syntax errors, reload the BIND daemon to implement your changes. For CentOS, use the following command:
rndc reload
Validate Your Settings
The final step is to verify that your DNS connections are correctly routed through Lumu. See
Validate your DNS Settings for more information.