(c) 2023 Sam Caldwell. See LICENSE.txt
- To establish a dev internal DNS zone to run off the local development laptop for development and bootstrapping.
- To establish an internal DNS zone to run the asymmetric-effort local network.
- This solution will operate in a "dev" (local) and "prod" mode by setting the environment variable ENVIRONMENT to "dev" or "prod".
ENVIRONMENT | DNS Zone |
---|---|
dev | dev.asymmetric-effort.com |
prod | internal.asymmetric-effort.com |
To build the container...
- Clone this repo
- Navigate to the directory
- Run
make dns_server/build
- Build the container locally (see above).
- Run
make dns_server/run/dev
- Build the container locally (see above).
- Run
make dns_server/run/prod
on the local development laptop.
- Build the container (see above).
- Run
make dns_server/upload
to upload the image to the Docker registry. - Run
make dns_server/run/prod
on the production servers.
To upload the container image:
- Build the container (see above)
- Run
make dns_server/upload
Disclaimer: This currently is not implemented and by design it will only upload to my local docker hub.
To stop the git server, run make dns_server/stop
To tail the logs, run make dns_server/logs