Simple DNS server with Redis backend
(Python, DNSlib, Dynaconf, Redis)
Based on dnserver by Samuel Colvin
- copy env_dist to .env (with dot)
- replace default values with your own
Create and start container:
$ docker-compose --env-file ./configs/.env up
Stop lifted containers:
$ docker-compose --env-file ./configs/.env stop
Start stopped containers:
$ docker-compose --env-file ./configs/.env start
Stop and delete containers and network:
$ docker-compose --env-file ./configs/.env down
Remove app image:
$ docker rmi dns_server
Clear logs:
$ sudo rm -rf logs/*