Socket
Socket
Sign inDemoInstall

do-update-fqdn

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    do-update-fqdn

Update or create a dns record through the DigitalOcean API.


Maintainers
1

Readme

do-update-fqdn

Update or create a dns record through the DigitalOcean API.

Caveats

This script makes the assumption that there is only one FQDN that matches a given combination of name and record type. So if you have two A records for foo.example.com, this script might fail or delete one of them, depending on what I have implemented at that moment.

Right now it simply sets all records that the DO API returned for the given combination to the given --data. I might even try to fix this shortcoming in the future.

Multiple --type arguments with their own address each for updating A and AAAA in one go would also be nice.

It also exposes your DO API token in the process list while running. You have to trust your local machine.

FAQs


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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc