The app we wrote POSTs data to our server on AWS using api.ourdomain.com. I used CNAME records in DNS to map api.ourdomain.com to the domain name in AWS. I have now set up a new server instance in AWS and I want to shift traffic over to the new instance so I updated the DNS record with the new domain name. The CNAME record has always had a 1 hour time to live so I expected that with a few hours the DNS change would propagate and the traffic would migrate over to the new environment and I can terminate the old one. It's been over 48 hours and when I check the elastic beanstalk logs I see traffic going to the new environment so I know the DNS entry is working correctly but I also see traffic going to the old environment.
Is there reason to believe the Hubitat would not respect the TTL for the DNS entry?
Is there reason to believe that if I tear down the old environment that the Hubitat will realize the DNS entry needs to be updated or will it likely keep sending the data to the wrong IP? We have a lot of Hubitats in the field so I don't want to risk that. A little lost data would be ok so I'm fine if it took a failure or two before they update the DNS.
I've seen other posts indicating that Hubitats may always use 18.104.22.168 for DNS resolution so we checked and 22.214.171.124 does have the new records.