This repo provides a docker image for dnsdbq. You can provide an API key either through the APIKEY
environment variable or by mounting your own .dnsdb-query.conf
file into the container.
- Code Repo: https://github.com/ethack/dnsdbq-docker
- Docker Repo: https://hub.docker.com/r/ethack/dnsdbq
Tags
- latest - Built on Debian.
- alpine - Built on Alpine. This required a minor patch to the dnsdbq source code.
Pull
docker pull ethack/dnsdbq
# or
docker pull ethack/dnsdbq:alpine
Build
docker build -t dnsdbq .
# or
docker build -f alpine.Dockerfile -t dnsdbq:alpine .
Example Usage
docker run --rm -e APIKEY=yourapikeyhere dnsdbq
cat /path/to/.dnsdb-query.conf
APIKEY=yourapikeyhere
docker run --rm -v /path/to/.dnsdb-query.conf:/root/.dnsdb-query.conf dnsdbq