I hereby claim:
- I am mattrk on github.
- I am mattrk (https://keybase.io/mattrk) on keybase.
- I have a public key whose fingerprint is D5B6 6F2D 7430 5CB6 6E01 03C0 1585 4D76 B949 C5D1
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
#Wait 30 seconds so that the WAN can come up properly before continuing | |
sleep 30 | |
#Get the new IP | |
IP=`wget -O - -q http://icanhazip.com` | |
#Update Cloudflare with the new IP | |
/opt/bin/wget -O - -q https://www.cloudflare.com/api_json.html --no-check-certificate --post-data "a=rec_edit&tkn=[YOUR API TOKEN]&email=[YOUR EMAIL ADDRESS]&z=[YOUR ZONE NAME]&id=[YOUR RECORD ID]&type=A&name=[RECORD NAME]&ttl=1&content=$IP" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>Challenge</key> | |
<string>This is where the challenge goes</string> | |
<key>PayloadContent</key> |