@tmcknight/netlify-ddns-updater
Description
Update an A DNS record at Netlify's Managed DNS service with your public IP address.
Install
npm i -g @tmcknight/netlify-ddns-updater
Available Commands
netlify-ddns-updater -t <accessToken> -d <domain> -s <subdomain>
Updates an A record with your external IP address.
netlify-ddns-updater -t <accessToken> -d <domain> -s <subdomain> -i <ipAddress>
Updates an A record with IP address.
Parameters
-
-a --accessToken
[string] - Personal access token from Netlify. -
-d --domain
- [string] - The domain that holds the DNS record. (e.g. - example.com). -
-s --subdomain
- [string] - The name of the record to update. (e.g. - home). -
-i --ipAddress
- [string, optional] - IP address to update. If not provided, uses your current external IP address.