1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

add dnsmonster

This commit is contained in:
kev 2024-07-15 18:45:39 +08:00
parent 5b3018ca9b
commit b106b759f2
6 changed files with 46 additions and 0 deletions

View File

@ -311,6 +311,7 @@ A collection of delicious docker recipes.
- [x] dnscrypt-server
- [x] dnsmasq
- [x] dnsmasq-arm
- [x] dnsmonster
- [x] ftldns
- [x] nextdns
- [x] passivedns

18
dnsmonster/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
#
# Dockerfile for dnsmonster
#
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ARG DNSMONSTER_VERSION=0.9.9
ARG DNSMONSTER_FILE=dnsmonster-musl-static-stripped-amd64.tar.gz
ARG DNSMONSTER_URL=https://github.com/mosajjal/dnsmonster/releases/download/v${DNSMONSTER_VERSION}/${DNSMONSTER_FILE}
RUN set -xe \
&& apk add --no-cache curl \
&& curl -sSL "${DNSMONSTER_URL}" | tar xz \
&& mv dnsmonster-linux-amd64.bin /usr/local/bin/dnsmonster \
&& apk del curl
ENTRYPOINT ["dnsmonster"]

6
dnsmonster/README.md Normal file
View File

@ -0,0 +1,6 @@
dnsmonster
==========
[dnsmonster][1] - Passive DNS Capture and Monitoring Toolkit.
[1]: https://github.com/mosajjal/dnsmonster

View File

View File

View File

@ -0,0 +1,21 @@
version: "3.8"
services:
dnsmonster:
image: vimagick/dnsmonster
volumes:
- ./data:/data
environment:
- DNSMONSTER_CONFIG=dnsmonster.ini
- DNSMONSTER_SKIPDOMAINSFILE=skipdomains.csv
- DNSMONSTER_SKIPDOMAINSREFRESHINTERVAL=1m0s
- DNSMONSTER_FILEOUTPUTTYPE=2
- DNSMONSTER_FILEOUTPUTFORMAT=json
- DNSMONSTER_FILEOUTPUTROTATECOUNT=0
- DNSMONSTER_FILEOUTPUTPATH=dnsmonster.jsonl
working_dir: /data
network_mode: host
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true
restart: unless-stopped