2018-09-04 07:57:11 -07:00
|
|
|
---
|
|
|
|
name: NAMESERVER_TTL
|
|
|
|
parameters:
|
|
|
|
- ttl
|
|
|
|
---
|
|
|
|
|
|
|
|
TTL sets the TTL on the domain apex NS RRs defined by [NAMESERVER](#NAMESERVER).
|
|
|
|
|
|
|
|
The value can be an integer or a string. See [TTL](#TTL) for examples.
|
|
|
|
|
2022-03-04 13:49:03 +01:00
|
|
|
{% capture example %}
|
2022-02-17 18:22:31 +01:00
|
|
|
```js
|
2018-09-04 07:57:11 -07:00
|
|
|
D('example.com', REGISTRAR, DnsProvider('R53'),
|
|
|
|
NAMESERVER_TTL('2d'),
|
|
|
|
NAMESERVER('ns')
|
|
|
|
);
|
2022-02-17 18:22:31 +01:00
|
|
|
```
|
2022-03-04 13:49:03 +01:00
|
|
|
{% endcapture %}
|
2022-02-17 18:22:31 +01:00
|
|
|
|
2022-03-04 13:49:03 +01:00
|
|
|
{% include example.html content=example %}
|