DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: a3ddc93bdf4330285e00d0a1fc10af5c3801f1a4 felu/internal/dns/misc_test.go -rw-r--r-- 180 bytes
a3ddc93bJonni Liljamo feat: genTsigKey and refresh tsig key 17 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
package dns

import "testing"

func TestZoneOf(t *testing.T) {
	want := "test.ddns.felu.arpa."
	if !zoneOf("_acme-challenge.test.ddns.felu.arpa.", want) {
		t.Error("zoneOf")
	}
}