ℹ️ Information: Cross-Peer DNS allows instances in peered VPCs to resolve DNS hostnames to private IP addresses. This section guides you through enabling and testing Cross-Peer DNS.
💡 Pro Tip: Enabling Cross-Peer DNS can simplify network management by allowing you to use DNS hostnames instead of IP addresses.
nslookup
command to resolve the DNS hostname of an instance in HG VPC🔒 Security Note: Ensure that your security groups and network ACLs allow DNS traffic (UDP port 53) between the peered VPCs.
⚠️ Warning: DNS resolution must be enabled on both VPCs for Cross-Peer DNS to work. Ensure both VPCs have DNS hostnames enabled.
💡 Pro Tip: Use DNS hostnames instead of IP addresses in your applications to make them more resilient to IP address changes.