mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Migrated documentation website to Gitbook (#1809)
This commit is contained in:
committed by
GitHub
parent
f4388dd6ad
commit
f912b15adc
20
documentation/functions/domain/NAMESERVER_TTL.md
Normal file
20
documentation/functions/domain/NAMESERVER_TTL.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: NAMESERVER_TTL
|
||||
parameters:
|
||||
- ttl
|
||||
parameter_types:
|
||||
ttl: Duration
|
||||
target: string
|
||||
modifiers...: RecordModifier[]
|
||||
---
|
||||
|
||||
TTL sets the TTL on the domain apex NS RRs defined by [NAMESERVER](NAMESERVER.md).
|
||||
|
||||
The value can be an integer or a string. See [TTL](../record/TTL.md) for examples.
|
||||
|
||||
```javascript
|
||||
D('example.com', REGISTRAR, DnsProvider('R53'),
|
||||
NAMESERVER_TTL('2d'),
|
||||
NAMESERVER('ns')
|
||||
);
|
||||
```
|
Reference in New Issue
Block a user