mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NEW RECORD TYPE: DNAME (#2893)
This commit is contained in:
23
documentation/functions/domain/DNAME.md
Normal file
23
documentation/functions/domain/DNAME.md
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
name: DNAME
|
||||
parameters:
|
||||
- name
|
||||
- target
|
||||
- modifiers...
|
||||
parameter_types:
|
||||
name: string
|
||||
target: string
|
||||
"modifiers...": RecordModifier[]
|
||||
---
|
||||
|
||||
DNAME adds a DNAME record to the domain.
|
||||
|
||||
Target should be a string.
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
|
||||
DNAME("sub", "example.net.")
|
||||
);
|
||||
```
|
||||
{% endcode %}
|
Reference in New Issue
Block a user