fix reverse dns

This commit is contained in:
nick committed 2026-07-16 01:14:20 -07:00
1 parent c14be296a8
commit d1ea7aaff2
3 files changed
+26 -4

No files matched your search

+3 -2
View File
@@ -73,8 +73,9 @@ persist-tun
# Register each client as <username>.$VPN_DNS_ZONE (A + PTR) in Technitium
# on connect, clean up on disconnect. Invoked via sh so the mounted script
# needs no exec bit; env (TECHNITIUM_ADMIN_PASSWORD, VPN_DNS_ZONE) comes
# from the container environment.
# needs no exec bit. NOTE: openvpn runs hooks with a clean environment, so
# the script sources /etc/openvpn/learn-address.env (written by the
# entrypoint from the container env) rather than reading env vars directly.
script-security 2
learn-address "/bin/sh /etc/openvpn/learn-address.sh"