Designing Virtual Networks: Address Planning, Subnets, DNS, Peering and Name Resolution

Microsoft Azure Architect Design AZ 301 55 min min read Updated: Nov 17, 2026 Intermediate
Designing Virtual Networks: Address Planning, Subnets, DNS, Peering and Name Resolution
Intermediate Topic 1 of 3

Plan Addresses First

Hard to change Overlapping address ranges block peering and VPN connections, and changing them later is painful. Plan ranges for all networks: Azure, on-premises and other clouds.
  • Use private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
  • Give each VNet a block with room to grow, for example /16 per environment or region
  • Keep a central IP address plan document or an IPAM tool

Subnet Sizing

PrefixAddressesUsable in Azure
/2983 (Azure reserves 5)
/281611
/273227
/24256251
/221,0241,019

Special Subnets

NamePurposeMinimum size
GatewaySubnetVPN and ExpressRoute gateways/27 recommended
AzureBastionSubnetBastion/26
AzureFirewallSubnetAzure Firewall/26
Application Gateway subnetApplication Gateway v2 only/24 recommended
Delegated subnetsApp Service integration, SQL MI, container servicesPer service guidance

Segmentation Design

  • Subnets by tier (web, app, data) or by trust level
  • NSG per subnet with deny by default, allow only needed flows. Use application security groups for tag-like grouping
  • Send traffic through a firewall with user-defined routes (UDR) when inspection is required
  • Prefer private endpoints over public access for PaaS

DNS Design

NeedSolution
Public domain hostingAzure DNS public zone
Private names inside VNetsPrivate DNS zones linked to VNets
Private endpoint namesprivatelink.* private zones linked to the hub or all VNets
Resolve on-premises names from Azure and the reverseAzure DNS Private Resolver with inbound and outbound endpoints and forwarding rules
DefaultAzure-provided DNS for simple cases
Common failure Private endpoint not working is usually a DNS problem. The name must resolve to the private IP from every network that needs it.

Peering Design

  • Peering connects VNets over the Microsoft backbone with low latency. It works across regions (global peering) and subscriptions
  • Peering is not transitive. A to B and B to C does not give A to C
  • Control gateway sharing: allow gateway transit on the hub and use remote gateways on spokes
  • Peering has no bandwidth limit of its own, but data transfer is charged

Practice

  1. Allocate address ranges for three environments in two regions plus on-premises
  2. Size subnets for a web tier of 40 instances with growth
  3. Explain why a private endpoint can resolve to a public IP and how to fix it

Conclusion

Network design starts with a non-overlapping IP plan, correctly sized subnets, segmentation, a clear DNS design with private zones and resolver, and peering that respects non-transitivity.

Quick Summary: address planning; subnets; special subnets; segmentation; DNS; peering.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators