Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for Known Answer Suppression part 1 #227

Merged
merged 7 commits into from
Jun 16, 2024
Merged

Conversation

keepsimple1
Copy link
Owner

@keepsimple1 keepsimple1 commented Jun 16, 2024

This is to resolve issue #193 item 1 (i.e. RFC 6762 section 7.1 Known Answer Suppression)

  • Added clone_box() to DnsRecordExt to support clone.
  • Added a new test case for Known Answer Suppression (but more tests are needed to have full coverage).

Also ran test with debug message to confirm:
[2024-06-16T04:30:13Z DEBUG mdns_sd::service_daemon] Sending query questions: [("_known-answer._udp.local.", 12)]
[2024-06-16T04:30:13Z DEBUG mdns_sd::service_daemon] add known answer: DnsPointer { record: DnsRecord { entry: DnsEntry { name: "_known-answer._udp.local.", ty: 12, class: 1, cache_flush: false }, ttl: 4500, created: 1718512213174, expires: 1718516713174, refresh: 1718515813174 }, alias: "1718512213167281._known-answer._udp.local." }

@keepsimple1 keepsimple1 changed the title add support for Known Answer Suppression add support for Known Answer Suppression part 1 Jun 16, 2024
@keepsimple1 keepsimple1 merged commit 5e0f1d3 into main Jun 16, 2024
3 checks passed
@keepsimple1 keepsimple1 deleted the known-answer branch June 16, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant