2022-01-05 12:09:46 -05:00
|
|
|
## Configuration
|
2022-05-08 14:41:33 -04:00
|
|
|
|
|
|
|
To use this provider, add an entry to `creds.json` with `TYPE` set to `PACKETFRAME`
|
|
|
|
along with your Packetframe Token which can be extracted from the `token` cookie on packetframe.com
|
|
|
|
|
|
|
|
Example:
|
2022-01-05 12:09:46 -05:00
|
|
|
|
2023-03-02 22:17:27 +01:00
|
|
|
{% code title="creds.json" %}
|
2022-02-17 18:22:31 +01:00
|
|
|
```json
|
2022-01-05 12:09:46 -05:00
|
|
|
{
|
|
|
|
"packetframe": {
|
2022-05-08 14:41:33 -04:00
|
|
|
"TYPE": "PACKETFRAME",
|
2022-01-05 12:09:46 -05:00
|
|
|
"token": "your-packetframe-token"
|
|
|
|
}
|
|
|
|
}
|
2022-02-17 18:22:31 +01:00
|
|
|
```
|
2023-03-02 22:17:27 +01:00
|
|
|
{% endcode %}
|
2022-01-05 12:09:46 -05:00
|
|
|
|
|
|
|
## Metadata
|
|
|
|
This provider does not recognize any special metadata fields unique to Packetframe.
|
|
|
|
|
|
|
|
## Usage
|
2023-03-11 14:42:01 +01:00
|
|
|
An example configuration:
|
2022-01-05 12:09:46 -05:00
|
|
|
|
2023-03-11 14:42:01 +01:00
|
|
|
{% code title="dnsconfig.js" %}
|
2023-01-20 13:56:20 +01:00
|
|
|
```javascript
|
2022-05-08 14:41:33 -04:00
|
|
|
var REG_NONE = NewRegistrar("none");
|
|
|
|
var DSP_PACKETFRAME = NewDnsProvider("packetframe");
|
2022-01-05 12:09:46 -05:00
|
|
|
|
2023-06-17 14:58:17 +02:00
|
|
|
D("example.com", REG_NONE, DnsProvider(DSP_PACKETFRAME),
|
2022-05-08 14:41:33 -04:00
|
|
|
A("test", "1.2.3.4")
|
2022-01-05 12:09:46 -05:00
|
|
|
);
|
2022-02-17 18:22:31 +01:00
|
|
|
```
|
2023-03-11 14:42:01 +01:00
|
|
|
{% endcode %}
|