![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
simple-route53-ddns
Advanced tools
npm module containing a cron friendly script to get your machine's ip address and update it as a record set in the specified hosted zone in AWS Route53
This node module offers a script that allows you to create/update a record set in your Route53 Hosted Zone with your current IP address.
A use case for this script is to have it invoked via a scheduled task (i.e. crontab
) to keep your FQDN updated with the correct and active IP address of your non static IP server.
This effectively gives you a simple Dynamic DNS service that you can use to ensure that your domain/host is always pointing to the correct
This script is a NodeJS adaptation of a script provided by Anthony Heddings.
aws configure
)iam
profile configured that has relevant access to the Route53 service to add/update record sets in a given Hosted Zonenpm
installed and available on your pathThe easiest way to invoke scripts in this module is via npx
.
update-record-set
Gets the current public ip address of your network and creates or updates a record set in the specified Hosted Zone in Route53.
npx simple-route53-ddns update-record-set -h YOUR_HOSTED_ZONE_ID -d YOUR_DOMAIN_NAME_1 YOUR_DOMAIN_NAME_2 [-t RECORD_SET_TYPE -l TTL -p YOUR_IAM_PROFILE -r YOUR_AWS_REGION]
Option | Required | Description |
---|---|---|
-h --hosted-zone-id | :x: | The hosted zone in Route53 where the record set will be created/updated |
-d --domains | :x: | A space delimited list of domain names. Must be a FQDN or subdomain of the root FQDNA space delimited list of domain names. Must be a FQDN or subdomain of the root ~~FQDN~~~~~~ |
-t --type | :heavy_check_mark: | The DNS record set type to create/update (optional, will use A if not set) |
-l --ttl | :heavy_check_mark: | The TTL (optional, will default to 60 seconds if not set) |
-p --profile | :heavy_check_mark: | The IAM profile that is configured for use to interact with the target AWS account (optional, will use default if not set) |
-r --region | :heavy_check_mark: | The region that the AWS SDK should operate in when running commands (optional, will use ap-southeast-1 if not set) |
The Route53 AWS SDK has a hard limit of 5 concurrent/bulk operations per second per account. Consider running this command in batches if you have more than 5 domains to be updated.
FAQs
npm module containing a cron friendly script to get your machine's ip address and update it as a record set in the specified hosted zone in AWS Route53
We found that simple-route53-ddns demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.