π©Ί DNS HealthChecker
π§Ό Withdraw Unhealthy Record
EdgeHit DNS can withdraw DNS record with unhealthy target server IP. This is done by reading from a file that corespond to the status of the Target IP of a DNS Record. Once the status is reported to be back online, the DNS Record would be announced again by EdgeHit DNS instance.
Note
The mapping between HealthCheckID and DNS Record can defined in EdgeHit Controller
- To enable DNS HealthCheck on EdgeHit DNS, the config below need to be added to
.envfile in EdgeHit DNS directory
π©Ί DNS Health-Check
DNS HealthChecker is a service module running on EdgeHit DNS instances or standalone server.It scrap metric and node status from a uptime monitoring server. It will reflect the status of monitored node status by updating health-dns.txt hosted on web server at 0.0.0.0:16666 .
The record above will be read by EdgeHit DNS to remove DNS record that corespond to the HealthCheck ID with down Status.
Note
DNS heathchecker reads value from LoadUP uptime monitoring server. So LoadUP must be deployed beforehand while running DNS HealthChecker
