32-incorporate-dns

Incorporated a DNS server. A DNS server can be run to resolve host
names.
This commit is contained in:
Tim Beatham
2023-11-24 15:04:07 +00:00
parent f28ed8260d
commit d1a74a7b95
5 changed files with 164 additions and 2 deletions

View File

@ -31,7 +31,7 @@ func NewCtrlServer(params *NewCtrlServerParams) (*MeshCtrlServer, error) {
nodeFactory := crdt.MeshNodeFactory{
Config: *params.Conf,
}
idGenerator := &lib.UUIDGenerator{}
idGenerator := &lib.IDNameGenerator{}
ipAllocator := &ip.ULABuilder{}
interfaceManipulator := wg.NewWgInterfaceManipulator(params.Client)