mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* Replace Jekyll highlight tags with fenced code blocks Replace Jekyll highlight tags with fenced code blocks. Canonicalize javascript to js. Correct highlighting languages. Add highlighting to code blocks. Remove leading $ from bash blocks. Remove empty lines at start and end of code blocks. Stripped trailing whitespace. * Fix language of code highlighting
34 lines
666 B
Markdown
34 lines
666 B
Markdown
---
|
|
name: Packetframe
|
|
title: Packetframe Provider
|
|
layout: default
|
|
jsId: PACKETFRAME
|
|
---
|
|
# Packetframe Provider
|
|
|
|
## Configuration
|
|
In your credentials file, you must provide your Packetframe Token which can be extracted from the `token` cookie on packetframe.com
|
|
|
|
```json
|
|
{
|
|
"packetframe": {
|
|
"token": "your-packetframe-token"
|
|
}
|
|
}
|
|
```
|
|
|
|
## Metadata
|
|
This provider does not recognize any special metadata fields unique to Packetframe.
|
|
|
|
## Usage
|
|
Example Javascript:
|
|
|
|
```js
|
|
var REG_NONE = NewRegistrar('none', 'NONE')
|
|
var PACKETFRAME = NewDnsProvider("packetframe", "PACKETFRAME");
|
|
|
|
D("example.tld", REG_NONE, DnsProvider(PACKETFRAME),
|
|
A("test","1.2.3.4")
|
|
);
|
|
```
|