Skip to content

Commit

Permalink
remove DefaultTTL from 029-dextendsub.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Dec 28, 2024
1 parent 8db1c76 commit a36749f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pkg/js/parse_tests/029-dextendsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ var CF = NewDnsProvider("Cloudflare", "CLOUDFLAREAPI");

// Zone that gets extended by subdomain
D("foo.net", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "10.1.1.1"),
A("www", "10.2.2.2"),
);
Expand All @@ -14,12 +13,10 @@ D_EXTEND("bar.foo.net",

// Zone and subdomain zone, each get extended.
D("foo.tld", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "20.5.5.5"),
A("www", "20.6.6.6"),
);
D("bar.foo.tld", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "30.7.7.7"),
A("www", "30.8.8.8"),
);
Expand All @@ -32,12 +29,10 @@ D_EXTEND("foo.tld",

// Zone and subdomain zone, each get extended by a subdomain.
D("foo.help", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "40.12.12.12"),
A("www", "40.12.12.12"),
);
D("bar.foo.help", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "50.13.13.13"),
A("www", "50.14.14.14"),
);
Expand All @@ -52,7 +47,6 @@ D_EXTEND("morty.foo.help",

// Zone extended by a subdomain and sub-subdomain.
D("foo.here", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "60.19.19.19"),
A("www", "60.20.20.20"),
);
Expand All @@ -73,7 +67,6 @@ D_EXTEND("a.long.path.of.sub.domains.foo.net",

// ASCII zone
D("example.com", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "10.0.0.1"),
A("www", "10.0.0.2"),
);
Expand All @@ -90,7 +83,6 @@ D_EXTEND("ü.example.com",

// IDN zone
D("düsseldorf.example.net", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "10.0.0.7"),
A("www", "10.0.0.8"),
);
Expand All @@ -112,7 +104,6 @@ D_EXTEND("ü.düsseldorf.example.net",

// One-character IDN zone
D("ü.example.net", REG, DnsProvider(CF),
DefaultTTL(300),
A("@", "10.0.0.15"),
A("www", "10.0.0.16"),
);
Expand All @@ -133,7 +124,7 @@ D_EXTEND("ü.ü.example.net",
);

// Zone extended by a subdomain, with absolute and relative CNAME targets
D("example.tld", REG, DnsProvider(CF), DefaultTTL(300));
D("example.tld", REG, DnsProvider(CF));
D_EXTEND("sub.example.tld",
CNAME("a", "b"), // a.sub.example.tld -> b.sub.example.tld
CNAME("b", "@"), // a.sub.example.tld -> sub.example.tld
Expand Down

0 comments on commit a36749f

Please sign in to comment.