mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Add NAMESERVER_TTL and associated documentation. (#398)
This commit is contained in:
committed by
Craig Peterson
parent
61c92c9215
commit
61281d7046
2
pkg/js/parse_tests/020-nameserver-ttl.js
Normal file
2
pkg/js/parse_tests/020-nameserver-ttl.js
Normal file
@@ -0,0 +1,2 @@
|
||||
D("foo.com", "none", NAMESERVER_TTL("1d"));
|
||||
D("bar.com", "none", NAMESERVER_TTL(300));
|
||||
24
pkg/js/parse_tests/020-nameserver-ttl.json
Normal file
24
pkg/js/parse_tests/020-nameserver-ttl.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"registrars": [],
|
||||
"dns_providers": [],
|
||||
"domains": [
|
||||
{
|
||||
"name": "foo.com",
|
||||
"registrar": "none",
|
||||
"dnsProviders": {},
|
||||
"meta": {
|
||||
"ns_ttl": "86400"
|
||||
},
|
||||
"records": []
|
||||
},
|
||||
{
|
||||
"name": "bar.com",
|
||||
"registrar": "none",
|
||||
"dnsProviders": {},
|
||||
"meta": {
|
||||
"ns_ttl": "300"
|
||||
},
|
||||
"records": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user