Skip to content

What takes precedence: VPC's custom DHCP option set dns server or Route53 Resolver rules

0

My customer is asking the question below...

I have a VPC configured with a custom DHCP option set. I have also configured rules in Route53 Resolver rules

When I create an ECS service with this VPC, will it always use the custom dns servers mentioned in the dhcp option set? Even when Route53 resolver rules are present and associated to the same VPC?
So what takes precedence?

AWS
asked a year ago161 views
1 Answer
2
Accepted Answer

Yes, resources created in the VPC will use the DNS servers specified in the DHCP option set, regardless of what is configured for Route 53 Resolver, unless the choice of DNS servers is overridden in the local configuration of the system, such as in the resolv.conf file of a Linux machine.

The Route 53 Resolver configuration only determines behaviour for queries that are sent to the Route 53 Resolver. The DHCP option set controls whether the systems use Route 53 Resolver in the first place or if they send their DNS queries to a different DNS resolver.

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.