[PR #13] [MERGED] Variable for db files + improved sync recognition. #15

Closed
opened 2026-03-16 12:10:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/HiddenClever/digitalocean-dns-sync/pull/13
Author: @macktic
Created: 4/22/2019
Status: Merged
Merged: 5/19/2019
Merged by: @ndjdev

Base: masterHead: master


📝 Commits (10+)

  • 7423081 Changed named files to variables from hard-coded.
  • ba16787 sort typo
  • eba44f1 sort typo
  • 5b96b2f sort typo
  • bd4a91c Merge branch 'variable_db' of github.com:macktic/digitalocean-dns-sync into variable_db
  • 9bdbc14 Forced lowercase on AAAA for case-insensitive comparison.
  • 8ebda85 Changed Readme for the new sync_dns_settings.py.example file
  • f4bd203 changed some formatting on MX to be recognised as already existing.
  • 02d08f0 make sure "@" translates to domain.
  • ef29cdc Revert "make sure "@" translates to domain."

📊 Changes

3 files changed (+33 additions, -24 deletions)

View changed files

📝 README.md (+11 -13)
📝 sync_dns.py (+14 -11)
sync_dns_settings.py.example (+8 -0)

📄 Description

I changed the hard-coded named db files to variables as my files where in a different location.

Tidied up the MX records as they were not being recognised as the same and recreated every time.

Made the AAAA records case insensitive, this was a big one for me as all AAAA records where deleted and recreated every time, which lead to a lot of random errors with the API


🔄 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/HiddenClever/digitalocean-dns-sync/pull/13 **Author:** [@macktic](https://github.com/macktic) **Created:** 4/22/2019 **Status:** ✅ Merged **Merged:** 5/19/2019 **Merged by:** [@ndjdev](https://github.com/ndjdev) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`7423081`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/74230811aad9912c8e45dd57187dcb09080efd2b) Changed named files to variables from hard-coded. - [`ba16787`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/ba16787a5251e79a70ad9ab44680d65ab36d4992) sort typo - [`eba44f1`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/eba44f19eca685fc6ab038c04756b95d6db93412) sort typo - [`5b96b2f`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/5b96b2f9428994f5268bba8102338d11aebad358) sort typo - [`bd4a91c`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/bd4a91cf1635df1dd92200d6ed9409adff5736bf) Merge branch 'variable_db' of github.com:macktic/digitalocean-dns-sync into variable_db - [`9bdbc14`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/9bdbc14516cc044085877474b3eab8b819f5b5c5) Forced lowercase on AAAA for case-insensitive comparison. - [`8ebda85`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/8ebda854a8954d214d1a0c3afa4979daec25ecba) Changed Readme for the new sync_dns_settings.py.example file - [`f4bd203`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/f4bd203409f457a7691f620457817c590b8b5065) changed some formatting on MX to be recognised as already existing. - [`02d08f0`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/02d08f0724b22fb1af79baadf330b44ee4a2aa3f) make sure "@" translates to domain. - [`ef29cdc`](https://github.com/HiddenClever/digitalocean-dns-sync/commit/ef29cdc0f2bdaa5897d3b2eab60223932841d6c9) Revert "make sure "@" translates to domain." ### 📊 Changes **3 files changed** (+33 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+11 -13) 📝 `sync_dns.py` (+14 -11) ➕ `sync_dns_settings.py.example` (+8 -0) </details> ### 📄 Description I changed the hard-coded named db files to variables as my files where in a different location. Tidied up the MX records as they were not being recognised as the same and recreated every time. Made the AAAA records case insensitive, this was a big one for me as all AAAA records where deleted and recreated every time, which lead to a lot of random errors with the API --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:10:14 +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/digitalocean-dns-sync#15
No description provided.