Unable to remove DNS roothint

Pawan Kumar 1 Reputation point
2020-08-11T05:48:28.07+00:00

Hi Everyone,

We are facing a weird situation in our DNS roothints configuration. We have configured the custom roothints in DNS properties under roothints tab, however when we run Get-DnsServerRootHint cmdlets we find the default roothints names as well in result.

As we see the default roothints in result, our some of the internet queries goes through those default roothints instead of defined custom roothints.

Please let me know if you have noticed such issue and can suggest something.

Note: We have already modified and deleted the default roothints entries from the cache.dns file under DNS folder. We are also using the forwarders.

Operating System: 2012 R2 standard Core(no gui)

Thanks in Advance

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,236 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,652 questions
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,040 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Candy Luo 12,711 Reputation points Microsoft Vendor
    2020-08-11T06:54:59.527+00:00

    Hi ,

    The root hints can be removed permanently and completely by removing the root hints from the DNS Manager, the CACHE.DNS file and from Active Directory.

    The root hints come back is because the root hints still exist in the other two locations (CACHE.DNS file and Active Directory). And you only removed default roothints entries from the cache.dns file.

    For more details, you could refer to the following link:

    https://support.microsoft.com/en-us/help/818020/root-hints-reappear-after-they-are-removed

    https://serverfault.com/questions/378200/how-can-i-permanently-remove-default-root-hints-from-a-server-2008-dns-server

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    ---Please Accept as answer if the reply is helpful---

    Best Regards,

    Candy


  2. Thameur-BOURBITA 33,006 Reputation points
    2020-08-12T22:15:15.15+00:00

    Hi,

    You can use DNS forwarder instead of roothint if you want redirect external DNS request to specific address.


  3. Candy Luo 12,711 Reputation points Microsoft Vendor
    2020-08-13T03:04:03.66+00:00

    Hi ,

    You are right. Multiple DC will cause such phenomenon.I have deployed the DC2 and then when I run Get-DnsServerRootHint, those default roothints get back again.

    17324-image.png

    However, I just clear the default root hints from the file under %windir%\SYSTEM32\DNS on DC1 and then it works.

    17391-image.png

    You might clear the list from the file under %windir%\SYSTEM32\DNS on all DNS servers as this is server specific to do a test.

    ---Please Accept as answer if the reply is helpful---

    Best Regards,

    Candy


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.