Forum Discussion

pinosilla's avatar
pinosilla
Copper Contributor
Sep 16, 2025

DNS and host domain

I configured a Windows 2019 server with DNS service. The domain is contoso.com. The contoso.com domain is outside the local network. I entered the IP of the external domain and deleted the IPs of the Windows server and the replica server. After a few minutes, the server created two host domains again with the IPs of the DNS servers. How do I prevent it from setting the DNS servers as the host domain?

1 Reply

  • Disable DNS Registration on the NIC

    On the server’s network adapter:

    Open Network Connections → Right-click your active adapter → Properties
    Select Internet Protocol Version 4 (TCP/IPv4) → Click Properties
    Click Advanced → Go to the DNS tab
    Uncheck “Register this connection’s addresses in DNS”

    Repeat this for IPv6 if enabled.

    Disable Dynamic Updates on the Zone

    If you want to prevent any dynamic updates to the zone:

    Open DNS Manager
    Right-click the zone contoso.com → Properties
    Under Dynamic updates, select “None”

    This will block all dynamic updates — including from DHCP clients — so use with caution.

    Set-DnsClient -InterfaceAlias "Ethernet" -RegisterThisConnectionsAddress $false

Resources