DNS sharing planning considerations
Before you configure DNS sharing for VPE gateways, make sure that you review the following considerations.
VPC Hub considerations
Review the following planning considerations for the hub VPC:
- It's important to ensure you establish connectivity between the hub VPC and DNS-shared VPCs. IBM Cloud does not manage or validate connectivity.
- You can designate a VPC as a hub when you create a VPC, or any time after it's created. When you designate a VPC as a hub, it cannot have any DNS resolution bindings.
- You can create more than one hub VPC in an account, as long as you don't have overlapping DNS-shared VPCs.
- You can't delete the hub VPC if it has DNS resolution bindings to DNS-shared VPCs.
- You can only initiate the creation of a DNS resolution binding from a DNS-shared VPC.
- Only an authorized user can delete the DNS resolution binding from a hub VPC and a DNS-shared VPC. To delete the DNS resolution binding from a hub VPC, the user must be assigned the
is.vpc.dns-resolution-binding.deleteandis.vpc.dns-resolution-binding.disconnectIAM actions. You can assign the user with theDNSBindingConnectoraccess policy and Administrator or Editor platform roles.
Limitations when configuring DNS sharing for VPE gateways
Review the following limitations before you configure DNS sharing for VPE gateways:
- The DNS hub VPC and DNS-shared VPCs must be in the same region. There is no support for DNS-shared VPCs in a remote region.
- VPEs on the DNS hub VPC are always shared with their associated DNS-shared VPCs. You must configure all VPEs on the DNS hub with
allow_dns_resolutionenabled before the VPC can be enabled as a DNS hub. - IBM Cloud does not manage or control on-prem DNS servers; customers must ensure on-prem servers point to the hub or spoke custom resolver as needed.
- When the hub VPC has DNS resolution bindings to DNS-shared VPCs, you cannot disable it as a DNS hub or delete the VPC.
- A DNS-shared VPC can only be associated to a single hub.
- Zone affinity is not supported for a custom resolver when it has multiple addresses. One custom resolver address always becomes the primary DNS address for all availability zones for this VPC.
- You cannot disable or delete the custom resolver on the DNS hub VPC as long as it is in use.
- Timing requirement for binding operations: creating, deleting, enabling, or disabling DNS resolution bindings, including endpoint gateway binding changes, might fail if the operation completes in under 5 minutes. To avoid failure, ensure these operations take longer than 6 minutes.
- If you remove and recreate the same VPE on any combination of hub or DNS-shared VPCs within a span of 5 minutes, the creation of the VPE might fail.