Local Test and Development Environment
The local test environment consist of an OCI container for dependent services. The microservices will run directly
on the development machine and not in a container. This enables a faster development with less overhead. The
makefile contains targets for creating, running and deleting containers. The TOML configurations in
are adopted to run in this environment. The environment may also work on other operating systems than linux.
The service discovery tool consul exposes the ports 8300, 8500, 8600. Consul runs as a standalone node.
The messsage broker service nats exposes the ports 4222, 6222, 8222. Nats runs as a standalone node.
This self-build container contains a powerdns server with a sqlite3 database as backend. It is the source of zonedata for the synchronisation process. This container exposes port 8081 for the api and port 5353 as the default port for the nameserver (like port 53).
This self-build container is identical to the pdns-primary. It is the destinaton for the synchronisation process. This container exposes port 18081 for the api and port 53535 as the default port for the nameserver (like port 53).
Build + Create + Start Container
It is intended to run it once and then prefer Start Container.
If the container exist, start them without recreating them.
Running Binaries in test environment
Most Linters of golangci-lint
Run all go tests.