Linux Today: Linux News On Internet Time.

More on LinuxToday

Caching nameserver using dnsmasq

Oct 05, 2010, 19:03 (0 Talkback[s])
(Other stories by George Notaras)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

[ Thanks to George Notaras for this link. ]

"dnsmasq is a lightweight, open-source DNS forwarder and DHCP server. In this article we go through how to prepare the system in order to run dnsmasq and also how to configure the latter as a caching-only DNS server. A configuration file is also provided as a drop-in replacement for the default dnsmasq.conf that ships with your system. dnsmasq is available in most Linux distributions. This article was written while using CentOS, so it is safe to say that it also fully covers RHEL, Fedora and generally the whole Red Hat family of operating systems and possibly Novell's SLES and OpenSUSE. Small modifications of the invoked commands may be needed for Debian, Ubuntu and other systems.

"Is a caching nameserver really important?

"There is some controversy about the real benefits of using a caching name server in a system, either desktop or server. In this article we keep controversy out of the discussion and focus on the performance improvement the caching of DNS information can offer to a system while performing specific tasks. For instance, a caching nameserver allows a web browser to acquire DNS information from the local DNS cache, provided that this information has already been cached, without the need to access any public DNS servers, which results in faster web browsing. Similarly, in a server environment, services like spam filters often need to perform many DNS queries for the same hostnames. The latency of the communication with the remote nameserver may add up to the total time of email processing."

Complete Story

Related Stories: