#!/bin/sh set -e # Resolve the real IP of api.anthropic.com at startup # so we can allowlist it through real DNS ANTHROPIC_IP=$(dig +short api.anthropic.com @8.8.8.8 | head -1) echo "Resolved api.anthropic.com -> $ANTHROPIC_IP" cat > /etc/dnsmasq.conf <