We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 688100f commit fa3c74cCopy full SHA for fa3c74c
codex-cli/scripts/init_firewall.sh
@@ -46,7 +46,7 @@ ipset create allowed-domains hash:net
46
# Resolve and add other allowed domains
47
for domain in "${ALLOWED_DOMAINS[@]}"; do
48
echo "Resolving $domain..."
49
- ips=$(dig +short A "$domain")
+ ips=$(dig +short A "$domain" | sort -u)
50
if [ -z "$ips" ]; then
51
echo "ERROR: Failed to resolve $domain"
52
exit 1
0 commit comments