Securing DNS

Common DNS Security Threats

A few of the common threats to DNS servers are:

Understanding the DNS Security Levels

Microsoft has defined three basic levels of DNS security (guidelines) to assist you in implementing a DNS security strategy for a Windows Server 2003 DNS infrastructure.

Understanding the DNS Security Extensions Protocol

The DNS Security Extensions (DNSSEC) protocol consists of a number of extensions to DNS that make it possible for resource records to be authenticated. The DNS Security Extensions (DNSSEC) protocol works by using public key cryptography with digital signatures. It provides the means for the party that requested information or resource records to authenticate the source of that specific information. The DNSSEC protocol was designed to provide protection to the Internet from specific types of attacks. The protocol can verify that a query response can be tracked back to a source that is considered trusted. With DNSSEC, each DNS zone has a public and private key pair. The key pair is used to encrypt and decrypt digital signatures.

In addition to the key pair, DNSSEC uses the following records:

The process that occurs to resolve queries when DNSSEC is used is outlined below:

  1. The resolver queries the root server to determine the DNS server that is authoritative for the specific zone. The resolver also needs to determine the public key for the specific zone. For the query, the resolver uses the public key of the root server.
  2. Next, the resolver sends the query to the DNS server that is authoritative for the specific zone.
  3. When the authoritative DNS server obtains the query, it sends the requested information (resource record) to the resolver with the SIG record that is associated with the specific zone.
  4. When the resolver obtains the resource record and accompanying SIG record, it uses the public key to authenticate the resource records.
  5. The information received from the authoritative DNS server is accepted if the resolver is able to authenticate the resource record and SIG.
  6. The information received from the authoritative DNS server is discarded if the resolver is unable to authenticate the resource record and SIG.

DNS Security Recommendations for an External DNS Implementation

The DNS security recommendations for an external DNS implementation are summarized below:

DNS Security Recommendations for an Internal DNS Implementation

The DNS security recommendations for an internal DNS implementation are summarized below:

Managing DACLs on DNS servers Configured as Domain Controllers

When DNS servers are configured as domain controllers, you can use DACLs to control permissions for Active Directory users and groups for the DNS Server service. It is recommended to limit and change the default users and groups, and their associated permissions for the DNS Server service to only those users and groups, and permissions that are necessary.

The DACL of a DNS server configured as a domain controller can be managed through:

The default users and groups, and their associated permissions which are created for DNS servers running as a domain controller:

Managing DACLs on DNS Zones Stored in Active Directory

It is recommended to limit and change the default users and groups and their associated permissions for DNS zones to only those users and groups, and permissions that are necessary.

The default users and groups, and their associated permissions which are created for DNS zones stored in Active Directory are:

Managing DACLs on DNS Resource Records in Active Directory

If DNS is integrated with Active directory, you can manage the DACLs on the DNS resource records. It is important to limit both user and group permissions to only those permissions which are necessary.

The default users and groups, and associated permissions on resource records in Active Directory are listed below:

How to secure DNS servers

The methods which you can use to secure DNS servers:

How to configure the root hints to point to those DNS servers hosting the root domain

  1. Click Start, Administrative Tools, and then click DNS.
  2. In the console tree, right-click the DNS server that you want to configure, and then select Properties to open the DNS Server's Properties dialog box.
  3. Click the Root Hints tab.
  4. If you want to add a root server, then click the Add button and enter the name and IP address of the list.
  5. If you want to edit an existing root server, then click the Edit button.
  6. If you want to copy root hints from the DNS server, click the Copy From Server button.
  7. If you want to remove an existing root server, select the root server, and then click the Remove button.
  8. Click OK.

How to disable recursion

  1. Click Start, Administrative Tools, and then click DNS to open the DNS console.
  2. In the console tree, right-click the DNS server that you want to disable recursion for, and then click Properties from the shortcut menu.
  3. When the DNS server Properties dialog box opens, click the Advanced tab.
  4. In the Server Options list, click the Disable Recursion checkbox.
  5. Click OK.

How to configure the Secure cache against pollution option

  1. Click Start, Administrative Tools, and then click DNS.
  2. In the console tree, right-click the DNS server that you want to configure, and then select Properties to open the DNS Server's Properties dialog box.
  3. Click the Advanced tab.
  4. In the Server Options list, click the Secure Cache Against Pollution checkbox.
  5. Click OK.

How to limit the number of IP addresses that the DNS server listens to for DNS queries

  1. Click Start, Administrative Tools, and then click DNS.
  2. In the console tree, right-click the DNS server that you want to configure, and then select Properties from the shortcut tab
  3. Click the Interfaces tab.
  4. Select the Only the following IP addresses option.
  5. Specify the IP addresses that the DNS server should listen to in the IP Address field.
  6. Click OK.

How to enable secure dynamic updates

  1. Click Start, Administrative Tools, and then click DNS to open the DNS console.
  2. In the console tree, right-click the DNS zone that you want to configure, and then select Properties from the shortcut menu.
  3. Verify that the zone type configured for the zone on the General tab is Active Directory-integrated zone.
  4. In the Dynamic Updates drop-down list box, select the Secure only option
  5. Click OK.

How to limit zone transfers

  1. Click Start, Administrative Tools, and then click DNS to open the DNS console.
  2. In the console tree, right-click the DNS zone that you want to configure, and then select Properties from the shortcut menu.
  3. When the DNS Zone's Properties dialog box pens, click the Zone Transfer tab.
  4. If you want to disable zone transfers, uncheck or clear the Allow Zone Transfers checkbox.
  5. If you want to allow zone transfer, select the Allow Zone Transfers checkbox.
  6. It is strongly recommended to not select the To Any Server option because zone transfers would be allowed to any server that requests a copy of zone data.
  7. The Only To Servers Listed On The Name Servers Tab option only provides medium-level DNS security.
  8. It is recommended to select the Only To The Following Servers option which provides the most security.
  9. After selecting the Only To The Following Servers option, specify which DNS servers, based on IP addresses, can request zone transfers.
  10. Click OK.

Related Articles on DNS



Top 5 Free Networking Tools

Bookmark Securing DNS

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.