Changing the DHCP Credentials Used for DNS Entry Updates

There are two tools you can use to change the credentials that a DHCP server uses to update a DNS server: the Microsoft Management Console (MMC) DHCP snap-in and Windows PowerShell.

Jan De Clercq

February 27, 2014

1 Min Read
white QA on red background

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.

 logo in a gray background |

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.

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