Mention that this should be a GoDaddy domain

This commit is contained in:
Foster Hangdaan 2023-12-04 15:08:03 -05:00
parent 351b12131e
commit ace62a9736
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -133,7 +133,7 @@ ## The Script
* address. * address.
*/ */
// Change this value to your domain. // Change this value to your GoDaddy domain.
const domain = "example.com"; const domain = "example.com";
// Change this value to your GoDaddy API key. // Change this value to your GoDaddy API key.
@ -200,7 +200,7 @@ ## Schedule the Script to Run Every Hour with Cron
On the Host Computer, save [the script](#the-script) as a file at `/etc/cron.hourly/ddns.ts`. Make sure to replace some necessary values: On the Host Computer, save [the script](#the-script) as a file at `/etc/cron.hourly/ddns.ts`. Make sure to replace some necessary values:
- Replace `example.com` in `const domain = "example.com";` with your domain. - Replace `example.com` in `const domain = "example.com";` with your GoDaddy domain.
- Replace `key` in `const GODADDY_API_KEY = "key";` with your GoDaddy API key. - Replace `key` in `const GODADDY_API_KEY = "key";` with your GoDaddy API key.
- Replace `secret` in `const GODADDY_API_SECRET = "secret";` with your GoDaddy API secret. - Replace `secret` in `const GODADDY_API_SECRET = "secret";` with your GoDaddy API secret.