A service mesh is enabled and only name-based egress policy begins failing for one dependency path.
A Cilium FQDN policy allows the configured hostname and still blocks traffic because a sidecar rewrites DNS search paths and the cached query name no longer matches the app config
The policy looks right, yet the actual wire query differs from the configured hostname after the sidecar or mesh rewrites the request.
Scenario
What to check first
- Identify the primary failure signal in the The Policy Allowed the App Config Name and the Sidecar Asked the Network for Another One scenario.
- Separate visible symptoms from the underlying technical dependency.
- Describe the safest recovery path and the follow-up prevention work.
Checking checklist
- Summarize the current impact and the last known change.
- Collect direct evidence from logs, runtime state, and configuration before changing anything.
- Separate immediate recovery from permanent prevention work.
Recovery and prevention
Capture the actual DNS queries leaving the workload stack before broadening the FQDN allowlist.
Questions worth viewing together
Community-field security problem inspired by Cilium community patterns where sidecar DNS rewriting broke FQDN-based egress policy. Name-based policy can fail when the app name and the wire query diverge under sidecar DNS behavior.
Teams often blame stale cache when the policy never saw the same name the app referenced.
FQDN allowlists should be validated against sidecar or service-mesh DNS rewriting, not just app config.
Similar cases seen in the field