Dynamic DNS Error 9005 and event id 20032 & 200319

Tonito Dux 956 Reputation points
2021-10-18T12:58:57.427+00:00

Hi,

I am battling an issue with DNS dynamic updates and DHCP server for some time. My company has 4 DCs, all are also DHCP servers. Two DC in our main HQ have a failover configured.

The errors in DHCP-Server event log that we are receiving are:

  1. Forward record registration for IPv4 address [[192.168.0.69]] and FQDN machinename.domain.local failed with error 9005 (DNS operation refused.).
  2. PTR record registration for IPv4 address [[192.168.0.69]] and FQDN machinename.domain.local failed with error 9005 (DNS operation refused.).

I managed to change the following:

  1. I added the dns dynamic update credentials in IPV4 part of the DHCP console, i checked the password multiple times to make sure everything is ok.
  2. Ran the BPA on DHCP where it showed me that dhcp did not have the registry permissions, added full access for computer.
  3. 006 Option is set to our two main DCs, first is our first DC and he is the main man.
  4. Scope options:

141414-scope-options.jpg

DNS Settings:

  1. Dynamics updates are set to secure only
  2. Scavenging 1 day. Non-refresh and refresh 1 day.
  3. Reverse zones are setup:

141297-dns-reverse.jpg

After all this I am seeing that Host A entries after I deleted them manually today are being stamped by the service account, but some are still being stamped by their own computer account. Why is this happening?

Cheers

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,023 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tonito Dux 956 Reputation points
    2021-10-22T07:59:40.003+00:00

    Hi,

    I would like to confirm that the steps I have taken in this case have worked, at least in my case. After being unable to find a suitable solution on various forums and sites, I've spend 3 days troubleshooting only to accidentally find the solution.

    Error:

    1. Forward record registration for IPv4 address [[192.168.0.69]] and FQDN machinename.domain.local failed with error 9005 (DNS operation refused.).
    2. PTR record registration for IPv4 address [[192.168.0.69]] and FQDN machinename.domain.local failed with error 9005 (DNS operation refused.).

    Solution:

    1. In DNS Manager, got to properties of the zone you are going to delete, note all settings for the zone, delete the zone in Reverse Lookup Zones which shows errors:

    142902-reverse-lookup-zone.jpg

    1. Depending on the size of your infrastructure/how many DCs you have, let this change propagate to all DCs.
    2. Recreate the deleted zone with the values you noted before deletion.
    3. Check event viewer log under Application and services->Microsoft->Windows->DHCP-Server->Microsoft-Windows-DHCP Server Events/Admin There should be no more errors.

    If you want to know more:

    Upon further investigation, I simply compared the "security" Tab of the zone which didn't had any problems with the problematic one, and the difference was that the problematic zone did not have "DnsAdmins" Group. In my DnsAdmins Group there is currently only a service account which is used for dns dynamic updates (https://www.serverbrain.org/network-infrastructure-2003/using-dns-dynamic-update-credentials.html). At first, I tried to solve the problem without deleting a zone, and this also worked (not 100% sure). I added ALL the rights and "subrights" to the "DnsAdmins" group:

    142853-security-rights.jpg

    So everything must be enabled except "full control".

    Cheers


6 additional answers

Sort by: Most helpful
  1. Tonito Dux 956 Reputation points
    2021-10-21T11:56:03.837+00:00

    Hi,

    I think I have this solved after 3 days of troubleshooting. I recreated the reverse zones for the IP addresses that were having issues and it worked like a charm. However I am still testing it. I will write a final review once am I sure that works.

    Cheers

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more