You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uptime appears to keep a cached copy of DNS resolution for domains that it is watching - if an A record for a monitored domain is updated, Uptime seems to continue pinging the old one until the service is restarted
Do something that takes the site down. Uptime should send a down alert
Update the A-record for http://yourdomain.com to point to a different (working) server, give time for DNS propagation, and verify in a browser+curl that the site is back up and running on the new server
Uptime does not ever probe DNS servers to get the updated A-record and continues to report the site as down (forever, or at least for a day or two)
..however restarting Uptime picks up the new DNS record immediately
The text was updated successfully, but these errors were encountered:
Victor-OFC
changed the title
Doesn't use current values when DNS for a domain is updated
Doesn't use current values when DNS for a domain is changed
Mar 2, 2023
Looking at the stackoverflow thread and digging into the docs a little, it looks like there's 2 different ways Go can do DNS resolutions - whichever method is currently being used is breaking a pretty big major aspect of core functionality of this tool, so I think it's worth digging in to
I'm going to try building 2 different versions, each with one of these 2 options set, and see if one of them resolves this.
Uptime appears to keep a cached copy of DNS resolution for domains that it is watching - if an A record for a monitored domain is updated, Uptime seems to continue pinging the old one until the service is restarted
Steps to reproduce:
..however restarting Uptime picks up the new DNS record immediately
The text was updated successfully, but these errors were encountered: