グレーアウトして無効にできないので Cloudflare API を実行する
Freeプラン、Proプラン、Businessプランのドメインをご利用のお客様は、Cloudflare API経由でIPv6 互換性を更新しなければなりません。
cURL を一回叩くだけ
-
ZONE_ID
:ドメインの「概要」ページ右下 -
EMAIL
:ログイン時のメールアドレス -
GLOBAL_API_KEY
:右上「マイプロフィール」→「API トークン」
ZONE_ID=【ゾーン ID】
EMAIL=【メール アドレス】
GLOBAL_API_KEY=【Global API Key】
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/${ZONE_ID}/settings/ipv6" \
-H "X-Auth-Email: $EMAIL" \
-H "X-Auth-Key: $GLOBAL_API_KEY" \
-H "Content-Type: application/json" \
--data '{"value":"off"}'
結果
変更前
# nslookup www.cloudremix.net
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
Name: www.cloudremix.net
Address: 104.21.26.194
Name: www.cloudremix.net
Address: 172.67.138.152
Name: www.cloudremix.net
Address: 2606:4700:3032::6815:1ac2
Name: www.cloudremix.net
Address: 2606:4700:3035::ac43:8a98
変更後
# nslookup www.cloudremix.net
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
Name: www.cloudremix.net
Address: 104.21.26.194
Name: www.cloudremix.net
Address: 172.67.138.152