DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 08a7a55902c758aaf1432ce557f0143715c363ee felu/internal/dns/misc_test.go -rw-r--r-- 180 bytes
08a7a559Jonni Liljamo feat: tsig 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")
	}
}