Added UseServerDNS option for clients who do not have to use the DNS specified in the server configuration.

This commit is contained in:
Gerwim Feiken 2021-08-05 01:04:33 +02:00
parent 024aadbfd2
commit 8c0422d443
8 changed files with 49 additions and 9 deletions

View file

@ -14,6 +14,7 @@ type Client struct {
Email string `json:"email"`
AllocatedIPs []string `json:"allocated_ips"`
AllowedIPs []string `json:"allowed_ips"`
UseServerDNS bool `json:"use_server_dns"`
Enabled bool `json:"enabled"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`