From 9e66402e0b0849e15c248cb78c0b89315b07c966 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Sun, 9 Jul 2017 08:04:28 -0400 Subject: [PATCH] DefaultTTL.md: Improve example --- docs/_functions/domain/DefaultTTL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_functions/domain/DefaultTTL.md b/docs/_functions/domain/DefaultTTL.md index cac3e861e..f8f00a64a 100644 --- a/docs/_functions/domain/DefaultTTL.md +++ b/docs/_functions/domain/DefaultTTL.md @@ -11,13 +11,13 @@ it will use the DNSControl global default of 300 seconds. {% highlight js %} D('example.com', REGISTRAR, DnsProvider('R53'), - DefaultTTL(2000), + DefaultTTL("4h"), A('@','1.2.3.4'), // uses default - A('foo', '2.3.4.5', TTL(500)) // overrides default + A('foo', '2.3.4.5', TTL(600)) // overrides default ); {%endhighlight%} -The DefaultTTL duration is the same format as [TTL](#TTL): an integer number of seconds +The DefaultTTL duration is the same format as [TTL](#TTL), an integer number of seconds or a string with a unit such as `'4d'`. {% include endExample.html %}