fix: stop mDNS goodbyes on iface churn and keep ads visible - #10
Merged
Conversation
Refresh advertisements with register() only so netlink/DHCP events no longer emit TTL 0. Filter and debounce rtnetlink, re-announce on a 55 s ticker, and add doctor/selfcheck plus `make deploy` onto /data. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Hub mDNS was disappearing from client caches: every rtnetlink event ran
unregister+register, which sent goodbye (TTL 0) and then never re-announced. Wireless-programmer activity onwlan0was enough to wipebigfred._http._tcp.local.What
wlan*on the hub).microdns doctor.make deploybuilds musl arm64 and copies the binary to/data/opt/microdnson192.168.0.1.Companion OS change: dcc-bigfred/bigfred-os
feat/microdns-data-override(init prefers/data, lower restartBackoff, tcpdump).Test plan
cargo test --offlinecargo clippy --offline --all-targets -- -D warningsmake deploy, thenmicrodns doctorand confirm no TTL 0 except on real service removal; service stays as visible as Railbox.