https://github.com/ethack/dnsdbq-docker
dnsdbq in docker
https://github.com/ethack/dnsdbq-docker
Last synced: 4 months ago
JSON representation
dnsdbq in docker
- Host: GitHub
- URL: https://github.com/ethack/dnsdbq-docker
- Owner: ethack
- License: mit
- Created: 2019-10-10T15:45:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T15:40:11.000Z (over 6 years ago)
- Last Synced: 2025-03-02T02:45:26.606Z (over 1 year ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
This repo provides a docker image for [dnsdbq](https://github.com/dnsdb/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**
```bash
docker pull ethack/dnsdbq
# or
docker pull ethack/dnsdbq:alpine
```
**Build**
```bash
docker build -t dnsdbq .
# or
docker build -f alpine.Dockerfile -t dnsdbq:alpine .
```
**Example Usage**
```bash
docker run --rm -e APIKEY=yourapikeyhere dnsdbq
```
```bash
cat /path/to/.dnsdb-query.conf
APIKEY=yourapikeyhere
```
```bash
docker run --rm -v /path/to/.dnsdb-query.conf:/root/.dnsdb-query.conf dnsdbq
```