Skip to content

Andrey-Ved/dns_server_with_redis

Repository files navigation

DNS server with Redis

Simple DNS server with Redis backend

(Python, DNSlib, Dynaconf, Redis)

Based on dnserver by Samuel Colvin

Before you start:

  • copy env_dist to .env (with dot)
  • replace default values with your own

Launching in Docker

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/*

Releases

No releases published

Packages

No packages published