docs: update all documentation and AGENTS.md

This commit is contained in:
2026-06-16 03:35:22 +00:00
parent bc72db903c
commit b8c2fa2f24
7 changed files with 73 additions and 17 deletions
+2
View File
@@ -373,6 +373,8 @@ Each key in the `interfaces` object is an interface name (e.g., `eth0`, `eth1`,
| `keep_master` | `boolean` | Keep master on stop. |
| `ip_family` | `string` | IP family to use. |
Keys not in the recognized set will be saved to `config.json` but won't be rendered to `.network` files. A warning is logged identifying any unrecognized keys.
### DNS Upstream Sync
When `POST /api/network/apply` is called, the handler automatically collects public DNS servers from all networkd interface configs (via `collect_upstream_dns()`), filters out local/private-range addresses, and syncs the deduplicated list to dnsmasq's upstream DNS configuration. This keeps dnsmasq's upstream resolvers in sync with whatever DNS the WAN interface receives (whether statically configured or via DHCP).