Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of saving a slave without necessity of having a mount point #7

Open
arvanus opened this issue Aug 31, 2023 · 1 comment

Comments

@arvanus
Copy link

arvanus commented Aug 31, 2023

Hi, I'm preparing a new remove slave server, and would like to run inside a cluster without a fixed volume, it would be very useful to have the possibility os passing my servers/domains list as an environment variable parameter, and in the startup the container would create the required named.conf.default-zones file
The docker-compose would be something like this (suggestions are welcome)

version: '3.5'

services:
  bind9:
    restart: unless-stopped
    image: labbsr0x/dns-bind9
    ports:
      - "53:53/udp"
      - "53:53/tcp"
    environment:
            MASTER_DOMAINS: 192.168.1.1:domain1.com,192.168.3.1:domain2.com

The startup script would then create the required file

If you agree, I could do this change and pull a patch

Thanks

@eabili0
Copy link

eabili0 commented Sep 7, 2023

Hello @arvanus, I am not sure the current maintainers have time available to discuss the suggested improvement.

You can always fork this repo, do your modifications and open a PR. In the meantime, while your PR is being reviewed (which might take a long time), I suggest you to build your own image and use that instead in your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants