mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-28 16:36:37 +08:00
添加DNS账号时自动读取DNS服务商下域名
This commit is contained in:
@@ -11,6 +11,14 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAliDNSProvider_GetDomains(t *testing.T) {
|
||||
provider, err := testAliDNSProvider()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(provider.GetDomains())
|
||||
}
|
||||
|
||||
func TestAliDNSProvider_GetRecords(t *testing.T) {
|
||||
provider, err := testAliDNSProvider()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user