Remove .cargo folder
Change container base to bullseye
Change image base to alpine
DNS resolver in matrix. Just invite @dnsbot:matrix.org
in your 1:1 or group chat.
Simple as
docker run -d --name dnsbot --restart always \
-v db:/db \
-e HOMESERVER=https://matrix.org/ \
-e USERNAME=dnsbot \
-e PASSWORD=p4ssW0rD_ \
--dns 1.1.1.1 \
--cpus 0.5 -m 100m \
ghcr.io/cofob/dnsbot