summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-06 16:51:20 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commitb030b4adcaf3cc63c02fde1433f2a14294608a02 (patch)
tree41ee5b4bdf24e050f327caa04323cbf5ad915950 /types
parent2044e30d90fb2094d4a905d3a23071cb6937e383 (diff)
Configuration: Expose dns_search_domains
Diffstat (limited to 'types')
-rw-r--r--types/server/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/server/server.go b/types/server/server.go
index a9c6934..bfed638 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -165,6 +165,8 @@ type Configuration struct {
Protocol protocol.Protocol `json:"protocol"`
// DefaultGateway is a boolean that indicates whether or not this configuration should be configured as a default gateway
DefaultGateway bool `json:"default_gateway"`
+ // DNSSearchDomains are the list of dns search domains
+ DNSSearchDomains []string `json:"dns_search_domains,omitempty"`
}
// Current is the struct that defines the current server