API and Bash
Add a Dreamhost API Key with
access to the dns-*
functions. Set the DHDNS_APIKEY
environment variable to
this value.
Specify the record you wish to dynamically modify in the DHDNS_DNSRECORD
environment variable.
Specify the DHDNS_APIKEY
and DHDNS_DNSRECORD
variables in your crontab, and
add an entry to run the dhdns.sh
script. The script will update your DNS
record only if the current IP is different.