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:
- Start the DHCP snap-in.
- In the console tree, click the applicable DHCP server, then the IPv4 container, as Figure 1 shows.
- From the Action menu, click Properties.
- 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.
- 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.)
- Click OK twice to apply the changes.
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 PowerShell cmdlets to configure and manage the DHCP server credentials from the command line. These cmdlets are:R2, Microsoft provides new
- 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.