mirror of
https://github.com/cego/cfzone.git
synced 2026-04-25 00:15:49 +03:00
[PR #9] [MERGED] Support split horizon #9
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cfzone#9
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/cego/cfzone/pull/9
Author: @dombenson
Created: 9/24/2019
Status: ✅ Merged
Merged: 9/25/2019
Merged by: @abrander
Base:
master← Head:support-split-horizon📝 Commits (2)
b78de4aImprovements around using a live / split-horizon Bind + Cloudflare configuration654b624Update docs📊 Changes
4 files changed (+90 additions, -30 deletions)
View changed files
📝
.gitignore(+2 -0)📝
README.md(+17 -10)📝
main.go(+39 -16)📝
recordCollection.go(+32 -4)📄 Description
The main motivation behind these changes is continuing to use BIND internally whilst enabling Cloudflare for public DNS. With that in mind, it is desirable to accept some records being un-syncable (e.g. SRV, which can be useful internally but non-critical externally), and to have 'magic' TTL values that are acceptable to use literally (0 in particular is notably unsuitable).
The other notable change is to support explicitly specifying the Origin of the zone file - this is significant if the BIND infrastructure imports the same definition in multiple origins.
There is also some tidying of PrintUsage, to make it more helpful and consistent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.