Support explicit cross-app internal DNS discovery
Report
Apps cannot reach each other using web.<app>.app.miren: the name resolves but connecting is refused.
Investigation
Current internal discovery supports only <service>.app.miren within the caller's app. pkg/dns/dns.go parses only the first label and determines app ownership from the source IP, so web.other-app.app.miren misleadingly returns the caller app's web addresses instead of other-app's. docs/docs/traffic-routing.md explicitly documents same-app-only discovery. DNS returns sandbox addresses, not ingress endpoints, and does not translate ports; the exact field refusal remains unverified.
Requested feature
Add explicit <service>.<app>.app.miren discovery across apps in the same cluster. Preserve existing <service>.app.miren same-app behavior. Resolve the explicit app rather than ignoring its label; unknown app/service and malformed names must not silently resolve to the caller's service. Maintain the existing requirement that the DNS client is a recognized sandbox unless an established policy requires otherwise. Do not accidentally change existing hostname forms such as instance-specific discovery; inspect supported forms before changing parsing. Preserve direct sandbox IP/actual listener port semantics; this is not an ingress proxy or port-translation feature. Review the current network-isolation boundary and document the intentional cross-app discovery behavior without broadening RPC/workload permissions.
Acceptance
Use asymmetric app/service fixtures proving explicit names select the target app, same-app short names remain compatible, and unknown/malformed names cannot alias the caller's service. Cover supported A/AAAA behavior and relevant existing discovery forms. Exercise a real DNS query and direct connection between distinct app identities on the available local stack when practical; distinguish verified behavior from unavailable live-cluster validation. Update discovery documentation.
Investigation: https://ampcode.com/threads/T-ee4bad77-5d58-4a6f-a902-b45b63d65e79