DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 5234e58e2380f8deb0710b81b5cb1cdf277fe0d1 felu/internal/dns/misc_test.go -rw-r--r-- 180 bytes
5234e58eJonni Liljamo feat: answer TXT queries for _acme-challenge 21 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")
	}
}