1
0
Fork 0

Migrate existing code

This commit is contained in:
Jöran Malek 2025-01-29 23:53:57 +01:00
parent 384ff4a6f3
commit 9b49f880a2
30 changed files with 1789 additions and 5 deletions

6
Options/DhcpOptions.cs Normal file
View file

@ -0,0 +1,6 @@
namespace DotNetDDI.Options;
public class DhcpOptions
{
public KeaDhcpOptions? Kea { get; set; }
}

10
Options/KeaDhcpOptions.cs Normal file
View file

@ -0,0 +1,10 @@
namespace DotNetDDI.Options;
public class KeaDhcpOptions
{
public KeaDhcpServerOptions? Dhcp4 { get; set; }
public KeaDhcpServerOptions? Dhcp6 { get; set; }
}
public record class KeaDhcpServerOptions(string Leases);

View file

@ -0,0 +1,10 @@
namespace DotNetDDI.Options;
public class PowerDnsOptions
{
public PowerDnsListenerOptions Listener { get; init; } = default!;
public bool UniqueHostnames { get; init; } = true;
}
public record class PowerDnsListenerOptions(string Socket);