[PR #9] [MERGED] Support split horizon #9

Closed
opened 2026-02-26 12:34:49 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: support-split-horizon


📝 Commits (2)

  • b78de4a Improvements around using a live / split-horizon Bind + Cloudflare configuration
  • 654b624 Update 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.

## 📋 Pull Request Information **Original PR:** https://github.com/cego/cfzone/pull/9 **Author:** [@dombenson](https://github.com/dombenson) **Created:** 9/24/2019 **Status:** ✅ Merged **Merged:** 9/25/2019 **Merged by:** [@abrander](https://github.com/abrander) **Base:** `master` ← **Head:** `support-split-horizon` --- ### 📝 Commits (2) - [`b78de4a`](https://github.com/cego/cfzone/commit/b78de4afbfc686f34c1812b08c963f5a48743862) Improvements around using a live / split-horizon Bind + Cloudflare configuration - [`654b624`](https://github.com/cego/cfzone/commit/654b624b396643abe5ae5bd41f1c7d0eb002204d) Update docs ### 📊 Changes **4 files changed** (+90 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `README.md` (+17 -10) 📝 `main.go` (+39 -16) 📝 `recordCollection.go` (+32 -4) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 12:34:49 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cfzone#9
No description provided.