wrong IP address is being returned - anyone else having this issue?

0

I'm using AWS route 53 for my routing. I'm also using Route53Resolver for internal address resolution.

DNS is returning the wrong IP addresses for CNAME records (I have changed the domain to xxx.yyy):

[ec2-user@dev ~]$ dig production.xxx.yyy

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.60.amzn1 <<>> production.xxx.yyy
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47088
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;production.xxx.yyy. IN      A

;; ANSWER SECTION:
production.xxx.yyy. 60 IN    A       91.195.240.12

;; Query time: 33 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Fri Mar 20 09:31:57 2020
;; MSG SIZE  rcvd: 63

I get the same answer if I query a different CNAME, which points to a different address:

[ec2-user@dev ~]$ dig dev.xxx.yyy

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.60.amzn1 <<>> dev.xxx.yyy
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40351
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;dev.xxx.yyy.                IN      A

;; ANSWER SECTION:
dev.xxx.yyy. 60      IN      A       91.195.240.12

;; Query time: 42 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Fri Mar 20 09:35:23 2020
;; MSG SIZE  rcvd: 56

Both queries return 91.195.240.12, which is wrong. In fact, every CNAME returns that same address.

If I use the very-very-long-annoying-AWS-assigned DNS name to which the CNAME refers, I will get the correct address.

ji-sys
질문됨 4년 전734회 조회
2개 답변
0

Hi,

If you post the domain name, I can take a look at your configuration.

Note that the Route 53 Developer Guide also has an extensive troubleshooting chapter:

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/troubleshooting-route-53.html

Scott

전문가
답변함 4년 전
0

thanks for the response-- it turned out to be a domain registration issued, it expired today -- registration holder had not notified us to renew.

ji-sys
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠