From 42a220c0c5ea1110d999a2454ec8eda53391b72d Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 13 Nov 2024 02:19:12 +0800 Subject: [PATCH] vault backup: 2024-11-13 02:19:12 Affected files: docs/Command Snippets/Docker Run.md --- docs/Command Snippets/Docker Run.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/Command Snippets/Docker Run.md b/docs/Command Snippets/Docker Run.md index 42f5b33..d61619b 100644 --- a/docs/Command Snippets/Docker Run.md +++ b/docs/Command Snippets/Docker Run.md @@ -161,4 +161,20 @@ docker run -d --restart=always --name inbucket \ -e INBUCKET_STORAGE_RETENTIONPERIOD="4h" \ -e INBUCKET_STORAGE_MAILBOXMSGCAP="5000" \ inbucket/inbucket:latest +``` +- [Technitium DNS Server](https://github.com/TechnitiumSoftware/DnsServer) +```bash +docker run \ + --name dns-server \ + --hostname dns-server \ + -p 8027:5380/tcp \ + -p 53:53/udp \ + -p 53:53/tcp \ + -e DNS_SERVER_DOMAIN=ns1.domain.com \ + -e DNS_SERVER_ADMIN_PASSWORD_FILE=/mnt/sda1/files/docker\ projects/technitium/password.txt \ + -v /mnt/sda1/files/docker\ projects/technitium/config:/etc/dns \ + --restart unless-stopped \ + --privileged \ + --sysctl net.ipv4.ip_local_port_range="1024 65000" \ + technitium/dns-server:latest ``` \ No newline at end of file