Model: Use DNSServer in the Configuration model
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -24,7 +24,7 @@ struct InterfaceConfiguration: Codable {
|
||||
var addresses: [IPAddressRange] = []
|
||||
var listenPort: UInt16? = nil
|
||||
var mtu: UInt64? = nil
|
||||
var dns: String? = nil
|
||||
var dns: [DNSServer] = []
|
||||
|
||||
init(name: String, privateKey: Data) {
|
||||
self.name = name
|
||||
|
||||
Reference in New Issue
Block a user