mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-03 22:12:00 +10:00
368489e5f253510d969671ed94db4c8683f6c0c1
- Config set cache: ConfigSetCache, IConfigSetCache, ConfigSetSnapshot. One read of main + conf-dir + managed config, build snapshot via parser pathToLines overloads. Watchers (main + managed file), 120s staleness, Invalidate(), NotifyWeWroteManagedConfig. - Parser: use DnsmasqConfKeys in DnsmasqConfIncludeParser and ConfigSetCache; add DnsmasqConfKeys.cs and use in DnsmasqConfOptionRegistry. - ConfigSetSnapshot: add DhcpHostEntries (built from pathToLines). ReadDhcpHostsAsync and ReadManagedConfigAsync use cache; writes call NotifyWeWroteManagedConfig. - DnsmasqConfigSetService: use IConfigSetCache only; all data from snapshot. - Hosts cache: HostsCache, IHostsCache, HostsSnapshot (managed + read-only). Watchers on managed and system hosts path, staleness, NotifyWeWroteManagedHosts. - HostsFileService and HostsController: use IHostsCache for ReadAsync and GetReadOnly. - Tests: DnsmasqConfigSetServiceTests use ConfigSetCache with test options.
Description
Web UI for dnsmasq: manage DHCP static hosts, hosts file, view leases and status
13 MiB
Releases
10
Release v0.0.10
Latest
Languages
C#
66.7%
HTML
27.1%
CSS
3.1%
Shell
2.6%
JavaScript
0.4%
Other
0.1%