4 ms·
SkyDNS looks interesting, but it doesn't appear to do any heath checks on the endpoint. I don't want clients to receive an answer to an A record query that con
by otterley 13y ago
SkyDNS looks interesting, but it doesn't appear to do any heath checks on the endpoint. I don't want clients to receive an answer to an A record query that contains the IP address of an endpoint that is down.
Am I mistaken?
- nl 13y agoYou probably don't want a healthcheck done for every DNS request. Better to have a healthcheck service doing healthchecking, and modify SkyDNS along with whatever else happens when a service goes down.
- otterley 13y agoIn order to be robust in the event of a network partition, the client should perform the the health check itself. This can be done in a background thread; it doesn't have to be synchronous with the DNS lookup (and that would be very bad for performance anyway).