white QA on red background

Changing the DHCP Credentials Used for DNS Entry Updates

Q: How can I change the Windows account and password that my DHCP server uses to perform updates (i.e., registering and deregistering client records) against a DNS server?

A: To change the credentials, you can configure the DNS dynamic update credentials option on your DHCP server. You can use the Microsoft Management Console (MMC) DHCP snap-in to make this configuration:

  1. Start the DHCP snap-in.
  2. In the console tree, click the applicable DHCP server, then the IPv4 container, as Figure 1 shows.
  3. From the Action menu, click Properties.
  4. In the IPv4 Properties dialog box, select the Advanced tab and click the Credentials button to bring up the DNS dynamic update credentials dialog box.
  5. In the DNS dynamic update credentials dialog box, provide the DHCP credentials. These include a username, domain name, and password. (The password must be entered twice.)
  6. Click OK twice to apply the changes.
Figure 1: Setting the "DNS dynamic update credentials" Option
Figure 1: Setting the "DNS dynamic update credentials" Option

You can repeat these same steps to change the DHCP credentials for the updates of IPv6-related DNS entries, except this time you must start from the IPv6 container in the DHCP snap-in.

In Windows Server 2012 R2, Microsoft provides new Windows PowerShell cmdlets to configure and manage the DHCP server credentials from the command line. These cmdlets are:

  • Get-DhcpServerDnsCredential. You can use this cmdlet to display the DHCP server credentials.
  • Remove-DhcpServerDnsCredential. With this cmdlet, you can remove the existing DHCP server credentials.
  • Set-DhcpServerDnsCredential. You can use this cmdlet to set the DHCP server credentials.
TAGS: Security
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.