mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-26 21:31:14 +00:00
- DNS redirect fix
- Remove vim-nox from main container
This commit is contained in:
@@ -164,7 +164,7 @@ def generate_firewall_header():
|
||||
#
|
||||
# This script was generated by WireGuard_WebAdmin on {timezone.now().strftime('%Y-%m-%d %H:%M:%S %Z')}
|
||||
#
|
||||
DNS_IP=$(host wireguard-webadmin-dns | grep -oP 'has address \K[\d\.]+')
|
||||
DNS_IP=$(getent hosts wireguard-webadmin-dns | awk '{{ print $1 }}')
|
||||
if [ -z "$DNS_IP" ]; then
|
||||
DNS_IP="127.0.0.250"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user