Skip to content

feat(eldritch): support AAAA, TXT, MX, SOA, NS, PTR, AXFR, SRV records#2195

Merged
Cictrone merged 1 commit intomainfrom
feature/dns-types
Apr 11, 2026
Merged

feat(eldritch): support AAAA, TXT, MX, SOA, NS, PTR, AXFR, SRV records#2195
Cictrone merged 1 commit intomainfrom
feature/dns-types

Conversation

@Cictrone
Copy link
Copy Markdown
Collaborator

Expand dns.list Native Record Support (AAAA, TXT, MX, SOA, NS, PTR, AXFR, SRV)

Overview

This PR significantly expands our recently overhauled dns.list standard library method. Operators are no longer constrained explicitly to IPv4 (A) or CNAME domains. We have wired standard underlying bindings via the hickory-resolver to universally support an extensive array of DNS lookup types dynamically through the same lightweight parameter invocation interface (dns.list("domain.net", kind="MX")).

Key Additions

  • Universal Record Extraction: Added explicit, strongly-typed internal resolution handlers for:
    • AAAA (IPv6 Addresses)
    • TXT (General Text / Verification chains)
    • MX (Mail Exchangers)
    • SOA (Start of Authority Blocks)
    • NS (Authoritative Name Servers)
    • PTR (Reverse mapping pointers)
    • AXFR (Zone Transfers — Please note that this will be susceptible to standard remote TCP networking constraints and ACL rejections).
    • SRV (Service locators)
  • Testing & fake Layer Extensions: Expanded the DnsLibraryFake environment to cleanly return mocked dummy blocks appropriately mimicking the expected structures for all newly integrated types, successfully guarding WASM/Integration runtimes.
  • Documentation Visibility: Thoroughly updated docs/_docs/user-guide/eldritch.md specifying all supported types for operator visibility.

Verification Matrix

  • Compilation validates locally against cargo check -p eldritch-libdns
  • Internal framework assertions validate cleanly via cargo test -p eldritch
  • Code correctly aligned via cargo fmt hooks organically

@github-actions
Copy link
Copy Markdown
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2941 2941 0 0 0 0 1ms

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#1993 2941 2941 0 0 0 0 43.1s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2941 0 0 6m 22s

Test Changes

0 test added, 0 removed

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
eldritch-libfile: std::list_recent_impl::tests::test_list_recent_default_args 3 3m 38s 6m 22s
eldritch-libfile: std::list_recent_impl::tests::test_list_recent_default_args 3 3m 38s 6m 22s
eldritch-libfile: std::list_recent_impl::tests::test_list_recent_default_args 3 3m 38s 6m 22s
TestDockerExecutor_Build_ContextCancellation 1 5.5s 5.5s
eldritch-libsys: std::dll_inject_impl::tests::test_dll_inject_simple 1 5.2s 5.2s
TestInteractiveShell 1 5.1s 5.1s
TestOtherStreamOutput 1 5.0s 5.0s
imix::bin/imix: tests::task_tests::test_task_streaming_error 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_error 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_error 3 3.0s 3.0s

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

@Cictrone Cictrone merged commit 63ff550 into main Apr 11, 2026
8 checks passed
@Cictrone Cictrone deleted the feature/dns-types branch April 11, 2026 20:36
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