What needs to be done next
- explain/advertise what DNS and IP Management (DIM) does
- rework internal documentation and publish
- automate .rpm and .deb creation for dim-client, ndcli, pdns-output and dim
- rework internal testcases and add/publish
- port internal automated testing to travis or something else
- rethink graphical interface of DIM
- publish internal bugs and feature requests to github issue tracker
- evaluate if there is interest for our DIM driven DHCP management
Running dim & pdns-output in docker
The setup needs a mysql database for dim.
The pdns databases written by pdns-output must be initialized with the schema in ./dim/pdns.sql
(these databases are required when running ndcli create output
)
Configure
Set the dim mysql database details:
- for dim edit
dimcfg/dim.cfg
keySQLALCHEMY_DATABASE_URI
- for pdns-output edit
dimcfg/pdns-output.properties
to set thedb.
properties
Run
Start dim
docker build -t dim . && docker run --name dim -d -v `pwd`/dimcfg:/etc/dim:ro dim
Start pdns-output
docker build -t dim-pdnsoutput -f Dockerfile-pdnsoutput . && docker run --name dim-pdnsoutput -v `pwd`/dimcfg:/etc/dim:ro -d dim-pdnsoutput
To use ndcli, exec into the dim docker and login with user admin (any password is fine)
docker exec -ti dim bash
$ ndcli login -u admin -p admin