Skip to content

Instantly share code, notes, and snippets.

@HouCoder
HouCoder / godaddy-dns-updater
Last active June 9, 2021 22:25
Godaddy DNS record updater.
#!/bin/bash
# https://developer.godaddy.com/keys
KEY=""
SECRET=""
domain="example.com"
name="a-record"
# Get public IP from ipinfo.io
public_ip="$(curl --silent ipinfo.io/ip)"