cloudflare-dns-updater/set_ip.sh
2022-11-27 14:14:08 +01:00

6 lines
191 B
Bash

#!/bin/bash
ipv4=$(curl -k -s https://am.i.mullvad.net/ip)
ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/)
python3 ./cloudflare_script.py 4 "$ipv4"
python3 ./cloudflare_script.py 6 "$ipv6"