Can't flush DNS cache in Windows Server 2012 R2 RRS feed

  • Question

  • Hello all.

    We have a WSFC cluster for MS SQL AlwaysOn. There are three servers in the cluster, each server has two ethernet adapters: first one "public" for application usage and second one "private" for cluster only usage. All nics has correct static ip addresses: for public and for private.

    Servers may register their names in DNS only for their public ip addresses and may not register for private (Disabled option "Register this connection's addresses in DNS").
    That private adapter has only "TCP/IPv4" and "Microsoft Failover Cluster Virtual Adapter Performance Filter" enabled and should not participate in applications traffic.

    However from time to time one of the servers shows some unusual behaviour: if you ping its name locally you have got answer from private ip address. I.e. "nslookup servername3" returns, and "ping servername3" returns
    Making static record in the windows hosts file " servername1" doesn't help. Ipconfig /flushdns doesn't help either.
    The name "servername3" resolves correctly "" from all other hosts, this behaviour happens only locally.

    What should we do to make sure server resolves its name correctly, i.e. only?
    Tuesday, July 9, 2019 10:28 AM


  • Hello,

    Thank you for posting in this forum.

    Go to NIC properties of>TCP/IPv4->Proterties->Advanced, then uncheck Automatic metric and modify Interface metric to 10.

    Do the same on NIC of and modify Interface metric to 20.

    Best Regards,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    • Edited by HK.Leon Wednesday, July 10, 2019 5:45 AM
    • Marked as answer by Orphan Jews Wednesday, July 10, 2019 7:14 AM
    Wednesday, July 10, 2019 5:45 AM