mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-15 05:11:42 +08:00
v0.7
This commit is contained in:
@@ -3,6 +3,6 @@ package models
|
||||
|
||||
type DNSEntry struct {
|
||||
Address string `json:"address" bson:"address" validate:"required,ip"`
|
||||
Name string `json:"name" bson:"name" validate:"required,alphanum,name_unique,max=120"`
|
||||
Name string `json:"name" bson:"name" validate:"required,name_unique,min=1,max=192"`
|
||||
Network string `json:"network" bson:"network" validate:"network_exists"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user