DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 9e41bc5486e2858c81a59c9302089d3a480ec4e3 felu/internal/dns/misc_test.go -rw-r--r-- 180 bytes
9e41bc54Jonni Liljamo feat: sane SOA ttls 16 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")
	}
}