Standardize the DNS setup.

This commit is contained in:
2025-10-30 07:48:36 -07:00
parent ffabb62f94
commit 7dd2ef5e75
2 changed files with 14 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
# 2023-07-29
#
# Local DNS server which properly handles DNS splitting.
# Necessary when using junk ISP gateways and running a domain.
# https://thekelleys.org.uk/dnsmasq/doc.html
#
services:
app:
container_name: dns-app
build:
context: ./
network: host
restart: always
ports:
- "53:53/udp"
- "53:53/tcp"
deploy:
mode: global
resources:
limits:
cpus: $CPU
memory: $MEM