Files
kubevpn/pkg/dns/forward_server_test.go
naison 4e568fe9e3 hotfix: fix CVE (#669)
* hotfix: fix CVE

* feat: prefer use cmd rather than magic dns to set dns on linux

* feat: update go work sum

* feat: update ut
2025-07-10 10:35:48 +08:00

16 lines
261 B
Go

package dns
import (
"fmt"
"testing"
)
func TestFix(t *testing.T) {
domain := "authors"
search := []string{"default.svc.cluster.local", "svc.cluster.local", "cluster.local"}
result := fix(domain, search)
for _, s := range result {
fmt.Println(s)
}
}