I have a private hosted zone on Route 53 for the domain name:


There's one CNAME record that routes traffic to an Elastic Load Balancer:

*.dev.example.com.  CNAME  xyz.elb.amazonaws.com

I tried adding the following record:

sftp.dev.example.com.  A

but traffic is always going through the load balancer.

Any ideas?



The most specific record is returned first - traffic shouldn't be going through your load balancer when you look up sftp.dev.example.com.

So the issue isn't with route53. My guess is that you have sftp.dev.example.com cached somewhere as the load balancer's IP address.

  • I don't think it's cached anywhere. I created additional record sets with random names and they all end up going through the ELB. How can I debug this? How can I make sure that "*.dev.example.com" is not cached? – Nix Jan 29 '19 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.