gravity-sync icon indicating copy to clipboard operation
gravity-sync copied to clipboard

Support syncing dhcp.leases

Open edalquist opened this issue 2 years ago • 1 comments
trafficstars

I'm using split-scope DHCP but I make fairly heavy use of dhcp-host entries to provide static IPs and concrete host names. Unfortunately that means DNSMasq only resolves those local host names if they are in its dhcp.leases file.

Including dhcp.leases in the set of synchronized files would ensure that either pihole is able to resolve local names for dynamically named hosts

edalquist avatar Aug 18 '23 17:08 edalquist

For people doing split-scope DHCP like me the sync would need to be a merge where the files from both pi's are combined with some basic logic to avoid duplicate entries for the same MAC

edalquist avatar Aug 18 '23 17:08 edalquist

Effective July 26, 2024, this project has been retired. Thank you for your use and enthusiasm for a project that began as a few lines of bash in a Slack channel and envolved into something far more complex, and used by many thousands of Pi-hole enthusiasts over the last four years.

vmstan avatar Jul 26 '24 18:07 vmstan