mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Identity management plumbing to Go
This commit is contained in:
parent
7fc78129f4
commit
47a08ccbd4
7 changed files with 247 additions and 6 deletions
|
@ -116,6 +116,16 @@ func locatorGetDNS(args []string) {
|
|||
fmt.Printf("FATAL: locator invalid: %s", err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
txt, err := loc.MakeTXTRecords(&sk)
|
||||
if err != nil {
|
||||
fmt.Printf("FATAL: error creating TXT records: %s\n", err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
for _, t := range txt {
|
||||
fmt.Println(t)
|
||||
}
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
// Locator CLI command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue