mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
012_duration creates multiple records under the same label, with different TTLs We plan to deprecate this going forward, in #1372. Modify the test in a way that creates one label per record, each having a different TTL format as before, to be validated.
8 lines
190 B
JavaScript
8 lines
190 B
JavaScript
D("foo.com","none",
|
|
A("@","1.2.3.4", TTL("300s")),
|
|
A("a","1.2.3.5", TTL("300")),
|
|
A("b","1.2.3.6", TTL("3m")),
|
|
A("c","1.2.3.7", TTL("3h")),
|
|
A("d","1.2.3.8", TTL("3d"))
|
|
);
|