forward with original client ip under trusted networks only

This commit is contained in:
juancwu 2026-01-17 20:38:05 +00:00
commit 27e51646fc
3 changed files with 109 additions and 8 deletions

View file

@ -2,3 +2,4 @@ DNS_PORT=53
API_PORT=8888
DB_PATH=./dns_records.db
DEFAULT_TTL=300
TRUSTED_SUBNETS=127.0.0.1/32,192.168.1.0/24