Error: DNS. Access was denied. Would you like to add it anyway?

Solution : DNS Access was denied
Solution : DNS Access was denied

DNS manager shows this error “DNS. Access was denied. Would you like to add it anyway?”

I have tried using the FQDN in local computer but failed. Restarted the DNS services have been restarted with no effect, and I have tried adding the Administrator group to the DNSAdmins group but this didn’t help either. Also I changed the ACL for the DNS object in the Active Directory Users and Computers to give Administrators full access but this didn’t help either.

The domain isn’t functioning properly as a result, with slow logins now and new GPOs not being pushed.

Issues facing now

  1. FQDN failed from local computer
  2. Login from clients are slow.
  3. Error in event log: The DNS server was unable to open Active Directory
  4. Error in event log: The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is “”. The event data contains the error.

Solution

  1. Go to C:\Windows\System32\drivers\etc, open hosts file and check whether ipv4 and ipv6 loop-back addresses are hashed out. In most cases the DNS Access Denied error is due to these hashed entries in host files . Remove those hashes and save the file as shown below.
127.0.0.1 localhost
::1 localhost
host file dns access denied error - ipv4 ipv6 loopback
Windows Host File

  1. Save and close the file.
  2. Restart the “dnsclient” service and DNS server service
  3. Now open the DNS management console
  4. Check WINS and make sure correct address is listed
  5. Ensure that DNS suffix is correct, run rsop and check for invalid DNS suffix
  6. Use nltest /sc_verify domain connectivity
  7. Run nltest /SC_VERIFY:%NetBIOS Domain Name like CORP etc%