How do I create a caching-only DNS server?

John Savill

March 26, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Normally a DNS server holds records about various DNS zones whichare replicated between other DNS servers (via the Active Directory in a ADenabled zone).

Caching-only DNS servers don't actually host any zones and are notauthoritative for any domains but rather just cache results from queries askedthem by clients. If a client asks it to resolve www.savilltech.comit will a zone holding DNS server to resolve it and cache the answer so ifanother client asks it to resolve the same record it can answer from its cache.This is similar in a way to a proxy server that caches popular web pages.

These are useful for sites connected via a WAN with a local caching-only DNSserver saving on network traffic.

To configure a caching only DNS server perform the following:

  1. Ensure the machine has a static IP address

  2. Install the DNS service as per normal (Start - Settings - Control Panel - Add/Remove Software - Add/Remove Windows Components - Components - Networking Services - Details - Domain Name System (DNS) - OK - Next - Finish)

  3. Start the DNS MMC (Start - Programs - Administrative Tools - DNS)

  4. From the Action menu select 'Connect To Computer...'

  5. In the Select Target Computer window enable 'The following computer:' and enter the name of a DNS server you want to cache.
    Click here to view image

  6. Click OK

The machine will now start to gather a cache of host-IP mappings.

To clear the cache right click on the actual server name (not the server itis caching from) and select 'Clear Cache' from the context menu.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like