mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-26 14:06:17 +08:00
DOCS: Add Porkbun as supported registrar and update usage examples (#3578)
This commit is contained in:
parent
7882326a8d
commit
6e96b76902
2 changed files with 17 additions and 3 deletions
|
|
@ -80,6 +80,7 @@ Currently supported Domain Registrars:
|
|||
- Name.com
|
||||
- OpenSRS
|
||||
- OVH
|
||||
- Porkbun
|
||||
- Realtime Register
|
||||
|
||||
At Stack Overflow, we use this system to manage hundreds of domains
|
||||
|
|
|
|||
|
|
@ -23,14 +23,27 @@ This provider does not recognize any special metadata fields unique to Porkbun.
|
|||
|
||||
## Usage
|
||||
|
||||
An example configuration:
|
||||
An example configuration: (DNS hosted with Porkbun):
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
var REG_NONE = NewRegistrar("none");
|
||||
var REG_PORKBUN = NewRegistrar("porkbun");
|
||||
var DSP_PORKBUN = NewDnsProvider("porkbun");
|
||||
|
||||
D("example.com", REG_NONE, DnsProvider(DSP_PORKBUN),
|
||||
D("example.com", REG_PORKBUN, DnsProvider(DSP_PORKBUN),
|
||||
A("test", "1.2.3.4"),
|
||||
);
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
An example configuration: (Registrar only. DNS hosted elsewhere)
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
var REG_PORKBUN = NewRegistrar("porkbun");
|
||||
var DSP_R53 = NewDnsProvider("r53");
|
||||
|
||||
D("example.com", REG_PORKBUN, DnsProvider(DSP_R53),
|
||||
A("test", "1.2.3.4"),
|
||||
);
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue