track

konakona.moe

konakona.png konata.gif autism.png drew.png panzergranate.gif debian-powered.gif hugo.png touhou.gif monero-now.gif wiby.gif notepad-fulvio.gif svenbutton.gif ls.jpg
Index Posts Photos Guestbook About Gitea↗ DMCA↗ 

How to Disable IPv6 Support on Cloudflare


Cloudflare makes it a chore to disable IPv6 support on their edge servers, you can’t just flick the switch on the dashboard, which is annoying. Probably because “muh ipv4 exhaustion!!” (My friends at the GC’s R&D division have a pretty simple solution for this issue however.)

4zqi9nln.bmp

^It’s normally switched on but you can’t flick it off, but we can use the Cloudflare’s API for that, here’s an example:

Using the API

1curl --request PATCH \
2        --header 'X-Auth-Email: YOUR_LOGIN_EMAIL' \
3        --header 'X-Auth-Key: YOUR_GLOBAL_API_KEY' \
4        --header 'Content-Type: application/json' \
5        --data '{ 
6            "value": "off"
7    }' https://api.cloudflare.com/client/v4/zones/ZONE_ID_OF_YOUR_DOMAIN/settings/ipv6

Note: You’ll have to rerun this command if you have other domains, but I think that’s obvious.



Prev:
XMRig Idle Background Mining on Micro$oft WindowsⓇ
Next:
Fixing Jellyfin Playlists

Back to... Posts | Section

Created on: Friday, 12 April 2024