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 年前722 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则