Menu

1 / 3

Foundry + private Search: Is Name or service not known a DNS problem or an auth problem?

DEV Community: azure·Sai Prudhvi Neelakantam·7 days ago
#LGv0MIMb
#devtoazure#devto#dev#search#agent
Long article (1228 words) — no AI summary yet.
Reading 0:00
15s threshold

I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at geekindata.com . The diagrams are on that page.

Treat Name or service not known as DNS until proven otherwise

Key takeaways

Name or service not known on Search MCP enumeration is a DNS / path failure until proven otherwise.

Healthy indexers, a correct MCP URL, and project managed-identity RBAC can all look fine while the agent data plane cannot resolve privatelink DNS.

Fix private DNS zone links, VNet injection, and the agent egress path before chasing keys or 403s.

Public MCP from a laptop does not prove the Foundry agent runtime can resolve the private Search hostname.

Hybrid networking plus Search private-endpoint hostname rewrite is the usual trap.

Split symptoms: DNS errors first; 403 Forbidden only after name resolution succeeds.

I keep seeing the same false trail. Azure AI Search sits behind a private endpoint as a knowledge-base MCP tool. Indexers are green.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.