可以设置集群的DNS记录TTL

This commit is contained in:
刘祥超
2021-09-20 20:01:21 +08:00
parent d121bc86a0
commit d4d7b1fff7
14 changed files with 113 additions and 16 deletions

View File

@@ -98,6 +98,7 @@ func TestCloudFlareProvider_AddRecord(t *testing.T) {
Type: dnstypes.RecordTypeA,
Value: "182.92.212.46",
Route: "",
TTL: 300,
})
if err != nil {
t.Fatal(err)