mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-30 03:12:36 -04:00
25 lines
543 B
Go
25 lines
543 B
Go
package nmdata
|
|
|
|
import "net/netip"
|
|
|
|
// NameServerGroup is the slim twin of dns.NameServerGroup.
|
|
type NameServerGroup struct {
|
|
ID string
|
|
PublicID string
|
|
Name string
|
|
Description string
|
|
NameServers []NameServer
|
|
Groups []string
|
|
Primary bool
|
|
Domains []string
|
|
Enabled bool
|
|
SearchDomainsEnabled bool
|
|
}
|
|
|
|
// NameServer is the slim twin of dns.NameServer.
|
|
type NameServer struct {
|
|
IP netip.Addr
|
|
NSType int
|
|
Port int
|
|
}
|