mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-24 23:53:01 +08:00
ClouDNS. Looks like SRV was marked as "not test" by mistake - it's working fine. On the other hand, PTR working in general, but can not be tested on the same domain. (#1101)
This commit is contained in:
parent
78e8daae9a
commit
8249f33913
1 changed files with 3 additions and 2 deletions
|
@ -968,12 +968,13 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||||
tc("NAPTR change regexp", naptr("test", 103, 20, "A", "E2U+sip", "!^.*$!sip:customer-service@example.com!", "example2.foo.com.")),
|
tc("NAPTR change regexp", naptr("test", 103, 20, "A", "E2U+sip", "!^.*$!sip:customer-service@example.com!", "example2.foo.com.")),
|
||||||
),
|
),
|
||||||
|
|
||||||
testgroup("PTR", requires(providers.CanUsePTR), not("ACTIVEDIRECTORY_PS"),
|
// ClouDNS provider can work with PTR records, but you need to create special type of zone
|
||||||
|
testgroup("PTR", requires(providers.CanUsePTR), not("ACTIVEDIRECTORY_PS", "CLOUDNS"),
|
||||||
tc("Create PTR record", ptr("4", "foo.com.")),
|
tc("Create PTR record", ptr("4", "foo.com.")),
|
||||||
tc("Modify PTR record", ptr("4", "bar.com.")),
|
tc("Modify PTR record", ptr("4", "bar.com.")),
|
||||||
),
|
),
|
||||||
|
|
||||||
testgroup("SRV", requires(providers.CanUseSRV), not("ACTIVEDIRECTORY_PS", "CLOUDNS"),
|
testgroup("SRV", requires(providers.CanUseSRV), not("ACTIVEDIRECTORY_PS"),
|
||||||
tc("SRV record", srv("_sip._tcp", 5, 6, 7, "foo.com.")),
|
tc("SRV record", srv("_sip._tcp", 5, 6, 7, "foo.com.")),
|
||||||
tc("Second SRV record, same prio", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com.")),
|
tc("Second SRV record, same prio", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com.")),
|
||||||
tc("3 SRV", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com."), srv("_sip._tcp", 15, 65, 75, "foo3.com.")),
|
tc("3 SRV", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com."), srv("_sip._tcp", 15, 65, 75, "foo3.com.")),
|
||||||
|
|
Loading…
Reference in a new issue