Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ipfs-shipyard/dnslink-deploy

Set the DNS records on Digital Ocean programmatically
https://github.com/ipfs-shipyard/dnslink-deploy

Last synced: 3 months ago
JSON representation

Set the DNS records on Digital Ocean programmatically

Awesome Lists containing this project

README

        

# dnslink-deploy

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

> Set the DNS records on Digital Ocean programmatically

[![NPM](https://nodei.co/npm/dnslink-deploy.png)](https://nodei.co/npm/dnslink-deploy/)

## Install

Set your DigitalOcean api key in your `.bash_profile` or your secure key file:

`export DIGITAL_OCEAN='dsjflajflasjdflsjlflsjldfs'`

Then:

```sh
npm i -g dnslink-deploy
```

## Usage

* `dnslink-deploy -t` Test this repo with your authentication key
* `dnslink-deploy -d ipfs.io -r test -p /ipfs/QmeQT76CZLBhSxsLfSMyQjKn74UZski4iQSq9bW7YZy6x8` Set the path as the data for a TXT record.
* `-d, --domain`: The domain to set.
* `-r, --record`: The domain record name.
* `-p, --path`: The path you want to set as the data.

## Contribute

Help out! Dive in and [create an issue](//github.com/ipfs/dnslink-deploy/issues).

### Want to hack on IPFS?

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)

## License

MIT