dnscontrol/documentation/providers/vultr.md
Jeffrey Cafferata 05be3b83ed
DOCS: Added GitBook code blocks syntax for dnsconfig.js. (#2149)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-13 16:30:21 -04:00

39 lines
678 B
Markdown

## Configuration
To use this provider, add an entry to `creds.json` with `TYPE` set to `VULTR`
along with a Vultr personal access token.
Example:
{% code title="creds.json" %}
```json
{
"vultr": {
"TYPE": "VULTR",
"token": "your-vultr-personal-access-token"
}
}
```
{% endcode %}
## Metadata
This provider does not recognize any special metadata fields unique to Vultr.
## Usage
An example configuration:
{% code title="dnsconfig.js" %}
```javascript
var DSP_VULTR = NewDnsProvider("vultr");
D("example.tld", REG_DNSIMPLE, DnsProvider(DSP_VULTR),
A("test", "1.2.3.4")
);
```
{% endcode %}
## Activation
Vultr depends on a Vultr personal access token.