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.
## 📋 Pull Request Information
**Original PR:** https://github.com/dehydrated-io/dehydrated/pull/354
**Author:** [@raffaellod](https://github.com/raffaellod)
**Created:** 2/12/2017
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `master`
---
### 📝 Commits (1)
- [`9d54f0e`](https://github.com/dehydrated-io/dehydrated/commit/9d54f0eecb1825038b1ed2d2a6bd7ce9835a3a4a) Support dynamic domains list
### 📊 Changes
**4 files changed** (+39 additions, -18 deletions)
<details>
<summary>View changed files</summary>
📝 `dehydrated` (+24 -17)
📝 `docs/dns-verification.md` (+2 -0)
📝 `docs/examples/config` (+3 -0)
📝 `docs/examples/hook.sh` (+10 -1)
</details>
### 📄 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.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.