We are managing our SQL Always On listeners records in 2 active directory servers (they are syncing each other) and we came across an issue which we couldn't pinpoint the cause for.We are testing MSSQL failovers on our windows DB servers and after the failover we check the DNS manager to see that the IP for the relevant listener changed (our DB servers are on multiple subnets).
In some cases (once every few failovers) we see that the listener record duplicates ,meaning we have 2 records for the same listener pointing to different DB servers and not 1 pointing to the primary DB as it should be.
We have checked the availability group parameters which might affect this :
PublishPTRRecords
is set to true for all availability groups and for the cluster.
HostRecordTTL
is set to 15 seconds.
RegisterAllProvidersIP
is set to 0
to assure that only a single IP will be available for each listener.
I would like to ask your opinion regarding possible causes for this issue or a way to monitor the DNS records change process which might allow me to debug .
Thanks