Commit graph

21 commits

Author SHA1 Message Date
Virgil
e8968cc719 feat(dns): expose resolved DNS and HTTP ports
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:24:29 +00:00
Virgil
5d8a9f82c8 feat(dns): validate serve bind argument type
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:19:06 +00:00
Virgil
01df7589bd feat(dns): default serve action port when unset
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:05:18 +00:00
Virgil
1195dbb596 feat(dns): tighten action argument parsing
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:00:07 +00:00
Virgil
8e87a2c7be feat(dns): default dns.serve port from service options
- Make dns.serve action accept omitted port and fall back to service DNSPort.
- Keep port explicit when caller provides it.
- Add regression test for serve action default port behavior.
- Remove obsolete go-cache dependency from module files.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 22:58:35 +00:00
Virgil
7dc86bb44c Preserve context in action registration 2026-04-03 22:54:47 +00:00
Virgil
4e5bb7e398 Align DNS package comments with AX principles 2026-04-03 22:52:14 +00:00
Virgil
13468eb06c Refine DNS AX documentation 2026-04-03 22:47:53 +00:00
Virgil
2119c14190 Add context-aware DNS action handling 2026-04-03 22:43:27 +00:00
Virgil
8900cc6a7c feat: auto-register dns actions from service options 2026-04-03 22:11:00 +00:00
Virgil
5a64c05125 Improve DNS AX docs and defaults 2026-04-03 21:46:03 +00:00
Virgil
0f2f2d195f Add service auto-registration helper 2026-04-03 21:30:08 +00:00
Virgil
b27160536d feat: add chain alias action caller 2026-04-03 21:23:17 +00:00
Virgil
88226d48b1 Improve DNS action docs for AX 2026-04-03 21:20:09 +00:00
Virgil
79663d6dfe docs: add AX-style usage examples 2026-04-03 21:11:25 +00:00
Virgil
2bd17a06cc Improve DNS action usage examples 2026-04-03 21:09:20 +00:00
Virgil
47d2271302 refactor(dns): align public comments with AX
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 21:03:36 +00:00
Virgil
90ef1cf8a5 refactor(ax): add example-driven API comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:48:18 +00:00
Virgil
812cbe13ed Add DNS action registration helper 2026-04-03 20:40:02 +00:00
Virgil
0a4457d86a Expose DNS action registrations 2026-04-03 20:35:14 +00:00
Virgil
1cb103cc5f feat(dns): add RFC action dispatch API
Add HandleAction with dns.* action names and helper parsing for action payloads, including coverage for resolve/reverse/serve/health/discover.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:15:36 +00:00