Cluster HostRecordTTL

reuvygroovy 781 Reputation points
2021-03-25T12:44:04.613+00:00

PS C:\Windows\system32> get-clusterresource "ClusterResourceName" | Get-ClusterParameter

Object Name Value Type


ClusterResourceName Name ClusterResourceName String
ClusterResourceName DnsName ClusterResourceName String
ClusterResourceName Aliases String
ClusterResourceName RemapPipeNames 0 UInt32
ClusterResourceName HostRecordTTL 60 UInt32

  1. We see there is a TTL record for the cluster resource names, which we can configure. What is the minimum value we can set? Can we set 0?
  2. We see that aside from the TTL DNS records itself, we also need time for DNS to replicate the changes. That adds another few minutes to the failover. Do you know of any way to expedite this update on both levels (Cluster & DNS)?
Windows for business Windows Server Storage high availability Clustering and high availability
0 comments No comments
{count} votes

Accepted answer
  1. Xiaowei He 9,936 Reputation points
    2021-04-07T03:57:28.27+00:00

    Hi,

    If you want to speed up the DNS record sync up speed, it's not related to the TTL value, the time depends on the AD replication time, and as far as I know, by default, the AD replication time is around 2-3 minutes, and seems we are unable to speed up the time.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Xiaowei He 9,936 Reputation points
    2021-03-26T07:12:23.08+00:00

    Hi,

    The ClusterResourceName Host RecordTTL is the DNS cache live time.

    By default, clients cache cluster DNS records for 20 minutes. By reducing HostRecordTTL, the Time to Live (TTL), for the cached record, legacy clients may reconnect more quickly. However, reducing the HostRecordTTL setting may also result in increased traffic to the DNS servers.

    If you would like to reduce the TTL, we may use the command below. We can set it to 0, while it's not recommended to do so.

    https://learn.microsoft.com/en-us/previous-versions/windows/desktop/mscs/distributed-net-names-hostrecordttl

    https://learn.microsoft.com/en-us/powershell/module/failoverclusters/set-clusterparameter?view=windowsserver2019-ps

    81824-image.png

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. reuvygroovy 781 Reputation points
    2021-04-06T05:28:20.053+00:00

    I tried the TTL value of 0, but that didn't help, since we still saw about 2-3 minutes worth of time until the DNS server on the alternate site received a replication of the new IP for the name. Any recommendations on how to speed up the intersite DNS replication?

    0 comments No comments

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.