DNS: <Adapter name> should have static IPv4 settings

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

This topic is intended to address a specific issue identified by a Microsoft Baseline Configuration Analyzer or Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the DNS Microsoft Baseline Configuration Analyzer or DNS Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.

Operating System

Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Product/Feature

DNS

Severity

Not Critical

Category

Configuration

Issue

Network interfaces should have static IP settings. The interfaces on the adapter have dynamically assigned Internet Protocol version 4 (IPv4) addresses.

Impact

Dynamic IP addresses can change, preventing clients from locating server resources.

Before you install Active Directory Domain Services (AD DS) and DNS on the first domain controller server in a new domain, ensure that the IP address of the server is static, meaning it is not assigned by Dynamic Host Configuration Protocol (DHCP). DNS servers must have static addresses to ensure that they can be located reliably.

Resolution

Configure a static IP address on the interface.

We recommend that you configure the computer to use a static IP address. If the DNS server is configured to use DHCP-assigned dynamic addresses, when the DHCP server assigns a new IP address to the DNS server, the DNS clients that are configured to use that DNS server's previous IP address will not be able to resolve the previous IP address and locate the DNS server.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To configure static IPv4 addressing

  1. Click Start, click Control Panel, click Network and Internet, click Network and Sharing Center, click Change Adapter settings, double-click the network connection you want to change, and then click Properties.

  2. Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

  3. Click Use the following IP address, and do one of the following:

    • For a local area connection, in IP address, Subnet mask, and Default gateway, type the IP address, subnet mask, and default gateway addresses.

    • For all other connections, in IP address, type the IP address.

  4. Click Use the following DNS server addresses.

  5. In Preferred DNS server and Alternate DNS server, type the primary and secondary DNS server addresses.

To configure static IPv6 addressing

  1. Click Start, click Control Panel, click Network and Internet, click Network and Sharing Center, click Change Adapter settings, double-click the network connection you want to change, and then click Properties.

  2. Click Internet Protocol Version 6 (TCP/IPv6), and then click Properties.

  3. Click Use the following IP address, and do one of the following:

    • For a local area connection, in IP address, Subnet mask, and Default gateway, type the IP address, subnet mask, and default gateway addresses.

    • For all other connections, in IP address, type the IP address.

  4. Click Use the following DNS server addresses.

  5. In Preferred DNS server and Alternate DNS server, type the primary and secondary DNS server addresses.