You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Feature Request: Granular DHCP Sync - Support for Static Leases Only
Context
Following up on #29 regarding DHCP sync control, there's a need for more granular control over DHCP synchronization. While we can currently exclude DHCP sync entirely using exclude: ["dhcp"], this prevents syncing of static leases which are crucial for high-availability setups.
Feature Request
Add support for selective DHCP synchronization, specifically allowing static lease sync while keeping other DHCP settings independent between instances.
Use Case
In a high-availability setup:
Primary AdGuard Home instance runs the DHCP server
Secondary instance acts as a failover
Static DHCP leases need to stay synchronized between instances
DHCP server should remain disabled on secondary until needed
Current workaround (excluding all DHCP sync) prevents keeping static leases in sync
Proposed Implementation
Add granular control over DHCP sync components. For example:
sync:
dhcp:
sync_leases_only: true # New option to sync only static leases# ORinclude:
- static_leasesexclude:
- server_config
- interface_settings
What config do you use?
Adguardhome-sync does not provide any 'exclude' functionality. Hence it the config exclude: ["dhcp"] has no effect for the application.
Dhcp behaviour is condifured via feature flags, where you can toggle server config separately from static leases.
# Configure sync features; by default all features are enabled.
features:
dhcp:
serverConfig: true
staticLeases: true
Oh! I see.. thanks for the clarification! I was completely off with the 'exclude' approach.
The feature flags are exactly what I need - will test this right away! 👍
much appreciated!!
Is your feature request related to a problem? Please describe.
Feature Request: Granular DHCP Sync - Support for Static Leases Only
Context
Following up on #29 regarding DHCP sync control, there's a need for more granular control over DHCP synchronization. While we can currently exclude DHCP sync entirely using
exclude: ["dhcp"]
, this prevents syncing of static leases which are crucial for high-availability setups.Feature Request
Add support for selective DHCP synchronization, specifically allowing static lease sync while keeping other DHCP settings independent between instances.
Use Case
In a high-availability setup:
Proposed Implementation
Add granular control over DHCP sync components. For example:
Alternative syntax could be:
Benefits
Technical Considerations
/control/dhcp/static_leases
)Alternative Solutions Considered
Related Issues
Describe the solution you'd like*
/config.yaml
...
sync:
dhcp:
sync_leases_only: true # Simple, single option to sync only static leases
This a preferred approach since:
Describe alternatives you've considered
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: