Skip to content

Commit a145445

Browse files
author
dougbw
committed
add SOA test
1 parent f576b17 commit a145445

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

omada_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ func TestOmada(t *testing.T) {
107107
qtype: dns.TypePTR,
108108
wantAnswer: []string{"101.0.168.192.in-addr.arpa. 60 IN PTR client1.omada.test."},
109109
},
110+
{
111+
qname: "omada.test.",
112+
qtype: dns.TypeSOA,
113+
wantAnswer: []string{"omada.test. 300 IN SOA ns.omada.test. hostmaster.omada.test. 1 7200 3600 86400 300"},
114+
},
110115
}
111116
executeTestCases(t, testOmada, tests)
112117

0 commit comments

Comments
 (0)