$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "checks": [
< {
< "domain": "one.one.one.one",
< "record_type": "A",
< "expected": [
< "1.0.0.1",
< "1.1.1.1"
< ]
< },
< {
< "domain": "dns.google",
< "record_type": "A",
< "expected": [
< "8.8.4.4",
< "8.8.8.8"
< ]
< },
< {
< "domain": "dns.google",
< "record_type": "AAAA",
< "expected": [
< "2001:4860:4860::8844",
< "2001:4860:4860::8888"
< ]
< }
< ],
< "resolvers": [
< "https://cloudflare-dns.com/dns-query",
< "https://dns.google/dns-query",
< "https://dns.quad9.net/dns-query",
< "https://unfiltered.adguard-dns.com/dns-query",
< "https://doh.opendns.com/dns-query",
< "https://dns.mullvad.net/dns-query",
< "https://doh.sb/dns-query",
< "https://dns.nextdns.io/dns-query"
< ],
< "pollIntervalSeconds": 60,
< "maxWaitMinutes": 30,
< "requireAllResolvers": true,
< "webhookUrl": "",
< "timeoutSeconds": 10
<}
<EOF
$curl "https://api.apify.com/v2/actors/kingii98~dns-cutover-convergence-gate-with-webhook-receipt/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'