mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
[PR #354] [CLOSED] Support dynamic domains list #807
Reference in New Issue
Block a user
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/dehydrated-io/dehydrated/pull/354
Author: @raffaellod
Created: 2/12/2017
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
9d54f0eSupport dynamic domains list📊 Changes
4 files changed (+39 additions, -18 deletions)
View changed files
📝
dehydrated(+24 -17)📝
docs/dns-verification.md(+2 -0)📝
docs/examples/config(+3 -0)📝
docs/examples/hook.sh(+10 -1)📄 Description
I added support for a new config option, HOOK_DOMAINS (defaults to no), which allows to get the domains list from the hook instead of domains.txt.
I updated all the documentation I could find to mention this new option and the corresponding new hook command.
My use case is running dehydrated on a server that is running a name server (NSD in my case), so I already have a list of domains and host names in the zone files for the server, and I don’t want the burden of maintaining the two separate files.
I can publish the 10-line script I wrote that parses the zone files and outputs in a domains.txt-like format, if you can provide me with a location or file where that would be fitting.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.