Configuring a caching only DNS server on Centos 7
Introduction DNS (Domain Name Server) is considered a critical component of any enterprise IT infrastructure. DNS runs as a service on a system and a DNS server can have different roles or we could say that DNS servers can be classified into multiple categories. In this quick article we will explain how to setup a caching only DNS server. This type of DNS server is the easiest to understand and setup. All DNS servers cache their queries but a DNS server that has been put in use for the sole purpose of caching DNS queries is referred to as a caching only DNS server. A caching only DNS server is also called a resolver. It queries DNS information and obtains the required information from other DNS servers (the root DNS servers in our case) and stores the query result in it’s cache for future use. The duration for which the query result remains in the servers’ cache is determined by the TTL value. This will help to reduce the DNS resolution time when the same query is performed again within the TTL window. With a basic understanding of what a caching only DNS server is, let’s configure one on a Centos 7 server. Step 1: Install required packages. To configure our caching only DNS server we will use the BIND package which is the most popular open source DNS...
Read More