Resolve public and private service names
Follow a name from each client through resolvers, forwarding rules and authoritative zones.
Resolve public and private service names
Work through the decision
The same storage hostname resolves to a private address in Azure and a public address in a depot. The private endpoint is already reachable by IP from both locations. Where is the difference?
Check your reasoning
Query each client’s configured resolver and inspect the alias chain and final record. Link the private zone containing the service’s private endpoint record to the VNet where resolution occurs. For branch clients, configure conditional forwarding of the appropriate service zone to a reachable Azure DNS Private Resolver inbound endpoint. An outbound endpoint and linked ruleset serve the reverse direction, forwarding Azure-originated queries for selected on-premises suffixes.
Compare the choices
- Inbound resolver endpoint
- Accept forwarded DNS queries on a private address in Azure so reachable on-premises clients can resolve Azure-visible private namespaces.
- Outbound forwarding ruleset
- Link a ruleset to the client VNet and use an outbound endpoint to forward selected suffixes to reachable target DNS servers.
- Private DNS zone link
- Make the private zone visible to the appropriate VNet. Enable registration only where automatic VM registrations are desired and supported.
- Public NS delegation
- Publish the child zone’s assigned nameservers at its parent so public resolvers reach the correct authoritative service.
Test the decision
For a public domain, verify delegation at the parent and compare authoritative answers with cached answers. For a private zone, check the exact record and network links. Changing the VNet DNS setting may require clients to renew their network configuration before they use the new resolver.
Practice the guide skills
- Trace a VM’s default name lookup and identify the boundary encountered when it queries a peered VNet. Watch 18:06
- After changing VNet DNS servers, pick a client and verify its renewed DNS configuration. Watch 18:32
- Compare the public zone’s assigned name servers with the parent zone’s delegation. Watch 18:55
- Decide which internal namespace needs a private zone and which VNets must resolve it. Watch 20:19
- Design an A record for an internal host and a public alias or CNAME appropriate to its target. Watch 19:08 · Continue at 20:56
- Link a consumer VNet for resolution, then decide separately whether its VM records should register automatically. Watch 20:31
- Draw inbound and outbound Resolver endpoints and the forwarding rule that carries branch-bound queries. Watch 21:50
Official objectives for this lesson
Related lesson · Resolve a service name and probe its backends
Resolve public and private service names quiz
Answer 3 questions. Check each answer for an explanation.