1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Files
stackexchange-dnscontrol/docs/_functions/domain/NAMESERVER_TTL.md
Jed Fox 1e337abcdf Provide TypeScript typings for dnsconfig.js (#1830)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-12 16:59:42 -05:00

474 B

name, parameters, parameter_types
name parameters parameter_types
NAMESERVER_TTL
ttl
ttl target modifiers...
Duration string RecordModifier[]

TTL sets the TTL on the domain apex NS RRs defined by NAMESERVER.

The value can be an integer or a string. See TTL for examples.

{% capture example %}

D('example.com', REGISTRAR, DnsProvider('R53'),
  NAMESERVER_TTL('2d'),
  NAMESERVER('ns')
);

{% endcapture %}

{% include example.html content=example %}