We got SQL 2014 2-node Multi Subnet AlwaysOn Availability Group with Auto Failover is configured in our environment. We have set the Cluster parameters for AAG as RegisterAllProvidersIP=0 & HostRecordTTL=5. We got applications and users in both data centers and also in 3rd in location connecting to the SQL via listener.
The issue we are experiencing is that after AAG failover, the listener IP gets updated in the DNS Server on the side where its failed over to but the DNS Servers on other sites does not get updated. This means the users on these other sites are unable to connect to listener. We ran NSLookup on the other 2 sites after failover and the Listener name is still pointing to old IP.
I have checked with our Domain Admin and he has advised that at we got separate DNS Servers at each of the 3 sites DNS Service is running on Domain Controller which gets synced every 15 mins as part of AD sync. He said the 15 min sync scheduled for AD is the standard MS recommended.
Has anyone experienced this issue and if there is any additional configuration/setup we need to do ? I read an article or in some forum where someone recommend to create a job which executes a script based to manually update the DNS with required IP on all DNS Servers. There were no instructions on how to achieve it.
Any feedback or advise on how to address this issue will be really helpful.