fix: ensure only ipv4 is supported, ipv6 support will come later

This commit is contained in:
2025-07-30 18:10:00 -06:00
parent 735d0a41b1
commit b7e70625fd
2 changed files with 2 additions and 1 deletions

View File

@@ -114,7 +114,7 @@ docker run --rm --network "container:net-filter" alpine ping -c 3 google.com
## Limitations
- Only supports IPv4 addresses
- **IPv4 only**: Currently only supports IPv4 addresses. IPv6 traffic is blocked and AAAA DNS records are filtered out
- Requires periodic refresh to handle DNS changes
- All containers sharing the network namespace share the same restrictions

View File

@@ -88,6 +88,7 @@ no-hosts
no-resolv
no-poll
log-queries
filter-AAAA
$(if [[ -n "$ALLOWED_DOMAINS" ]]; then
IFS=',' read -ra DOMAINS <<< "$ALLOWED_DOMAINS"
for domain in "${DOMAINS[@]}"; do