louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
58.27k stars 5.26k forks source link

Handle DNS multiple A Records via `Happy Eyballs v2`/`RFC 8305` #1327

Open jtagcat opened 2 years ago

jtagcat commented 2 years ago

⚠️ Please verify that this feature request has NOT been suggested before.

🏷️ Feature Request Type

API

🔖 Feature description

✔️ Solution

❓ Alternatives

No response

📝 Additional Context

fucking let me use issue template without forced fields

erwineverts commented 2 years ago

I would agree that monitoring all IP's for a given DNS name should be able to be monitored.

Would the behavior be that if one of the hosts fails, the site is down?

jtagcat commented 2 years ago

Yea; kuma has only booleans OK (up) or NOK (down), there is no degraded status. Though, degraded might not be good either, as this could be a security issue, where it is definitely NOK/down.

maxheadroom commented 2 years ago

I have the same issue here. In my opinion the host which has multiple IPs schould not be considered down as long as at least one of the IPs can be reached. At max a warning could be issued.

suominen commented 2 years ago

It would be nice if Happy Eyeballs (RFC 8305) was an option. It seems this was already discussed in #57.

Would it be possible to make use of this happy-eyeballs package:

Node.js still doesn't appear to have Happy Eyeballs (see: nodejs/node#41625).