DynNameserver is a Dynamic Nameserver which is a basic DNS server responding to A Record requests.
You need to have docker.io installed locally.
Then build the image:
docker build . -t dyn-nameserver
Alternatively you can just run bash build.sh.
The following command runs a docker container with the proper image:
bash start.sh
Currently the container assumes a redis server is available in the host. Also, the A records mappings need to be populated in the redis server with the following KEY-VALUE structure:
dyn--nameserver--<HOSTNAME>--<QUERY TYPE>--<ID> -> "{\"value\":\"my value\"}"
This is hard coded currently in lib/nameserver.ex. QUERY TYPE currently supports A, CNAME, TXT.
Therefore you need another service which populates the redis key-values.