mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
15 lines
279 B
Go
15 lines
279 B
Go
//go:build unix
|
|
|
|
package cli
|
|
|
|
import (
|
|
"tailscale.com/util/dnsname"
|
|
|
|
"github.com/Control-D-Inc/ctrld/internal/resolvconffile"
|
|
)
|
|
|
|
// searchDomains returns the current search domains config.
|
|
func searchDomains() ([]dnsname.FQDN, error) {
|
|
return resolvconffile.SearchDomains()
|
|
}
|