Use DNS alias name to access FSx file system with Route 53 Advanced features
This blog post continues from my previous post: Use DNS alias name to access FSx file system. We will introduce some advanced Route 53 features to host a private zone, e.g., fsx.com, and create a DNS record in this zone.
After that, I configured a Route outbound endpoint in the same region as my workload, and created a resolver rule to forward all DNS queries to "tianzhui.cloud" to go to the self-managed DNS server.
In this case, when I launch a new EC2 instance and join domain. It could resolved FQDN, like shared.fsx.com, via the private host zone and the AWS managed DNS service. For DNS queries to "amznfsxc***r.tianzhui.cloud", the resolver rule will forward the queries to the self-managed DNS server.
So this is another option to do things elegantly.