Add support CNAME to external domain ( alias implementation )
Hello developer team!
We use knotdns as authoritative servers in our company. We also actively use AWS for our infrastructure.
There is the following problem:
- Create a new AWS application load balancer
- AWS create a DNS record for pointing
- AWS creates a DNS record in the amazon.com domain to route traffic to the balancer, record like
test-alb-555333565.ap-southeast-2.elb.amazonaws.com
- I try to create CNAME record
myapp.example.com
->test-alb-555333565.ap-southeast-2.elb.amazonaws.com
- This record does not resolve by knotdns recursive
When I try to resolve ( from windows clients and old linux (like centos 7):
nslookup myapp.example.com
Server: 10.134.7.11
Address: 10.134.7.12#53
myapp.example.com canonical name = test-alb-555333565.ap-southeast-2.elb.amazonaws.com
From another DNS client I have another message ( like alpine/arch linux ):
nslookup myapp.example.com
;; Got recursion not available from 10.134.7.11, trying next server
;; Got recursion not available from 10.134.7.12, trying next server
Server: 1.1.1.1
Address: 1.1.1.1#53
** server can't find myapp.example.com: NXDOMAIN
How I can resolve this issue?
P.S
I cannot specify the IP address of the balancer, since Amazon changes them on its own at will