mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[PR #73] [CLOSED] Add healthtest feature to dynamically add/remove DNS entries #405
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#405
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/73
Author: @abligh
Created: 8/17/2015
Status: ❌ Closed
Base:
master← Head:healthtest📝 Commits (4)
cc09d9dAdd delay to test start.d763f74Remove minimum TTL for NS records901652aAdd 'closest' flagb268006Add healthtest functionality to automatically exclude down hosts📊 Changes
11 files changed (+1176 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(+12 -3)📝
serve_test.go(+4 -0)📝
targeting.go(+5 -6)📝
targeting_test.go(+5 -5)📝
zone.go(+33 -2)📝
zones.go(+40 -8)📄 Description
This is an experimental feature to add/remove DNS entries depending on whether servers/services are up/down. Initially NTP testing and TCP port testing are supported.
This is an experimental lightly tested patch. It's based on top of the other 3 merge requests I have submitted recently, but is pretty easily separated.
From the commit message:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.