mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[PR #79] [CLOSED] Add a health RR #267
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/abh/geodns/pull/79
Author: @abligh
Created: 9/2/2015
Status: ❌ Closed
Base:
master← Head:health-rr📝 Commits (5)
cc09d9dAdd delay to test start.d763f74Remove minimum TTL for NS records901652aAdd 'closest' flagb268006Add healthtest functionality to automatically exclude down hosts8143ab0Add a health RR📊 Changes
11 files changed (+1215 additions, -33 deletions)
View changed files
📝
config.go(+10 -0)📝
geoip.go(+26 -1)➕
healthtest.go(+405 -0)➕
healthtesters.go(+561 -0)📝
picker.go(+75 -8)📝
serve.go(+51 -3)📝
serve_test.go(+4 -0)📝
targeting.go(+5 -6)📝
targeting_test.go(+5 -5)📝
zone.go(+33 -2)📝
zones.go(+40 -8)📄 Description
Add a RR which returns the health status of a record, for debugging purposes. This returns in JSON format the health record of all the records associated with a label if a health test is running.
Example follows.
Decoding that JSON:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.