Elasticache Redis (cluster mode enabled) NXDOMAIN error

0

Hello!

I've started new Elasticache Redis cluster (cluster mode enabled) with 1 shard and 2 nodes in it, cache.t4g.micro, using terraform module by CloudPosse.

After couple of weeks second node lost it's DNS record.

First node is ok:

host zzz-0001-001.zzz.yyy.euw1.cache.amazonaws.com

zzz-0001-001.zzz.yyy.euw1.cache.amazonaws.com has IPv6 address aaaa:aaa:aaaa:aaa:aaaa:aaaa:aaaa:aaaa

But second node returns dns NXDOMAIN error:

host zzz-0001-002.zzz.yyy.euw1.cache.amazonaws.com

zzz-0001-001.zzz.yyy.euw1.cache.amazonaws.com not found: 3(NXDOMAIN)

It started only after a couple of weeks after initial start.

I see this error after connect via teleport (via redis-cli the same error is shown):

tsh db connect --db-user my-user zzz

localhost:65293> keys *
(error) ERR Teleport: dial tcp: lookup zzz-0001-002.zzz.yyy.euw1.cache.amazonaws.com on [fdf3:aaaa:aaaa::a]:53: no such host
(0.76s)
rifler
질문됨 2달 전128회 조회
2개 답변
0
수락된 답변

Answer from AWS support:

On 2024-03-26 at 18:07:00 UTC, ElastiCache applied patching update elasticache-20240225-arm for your replication group named qqq in yyy region. Due to a bug , ipv6 address for your node qqq-0001-001 was removed from the endpoint.We have since fixed the issue for your cluster and ipv6 address has been updated for your replication group.

rifler
답변함 22일 전
0

This is not the answer you expect, but when cluster mode is enabled, the Configuration endpoint is used, so I don't think you would use the per-node endpoint directly.

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html

Of course, the per-node endpoint can be named resolved. If the node's endpoint cannot resolve the name, it may be that the node is currently unavailable. Check the node's status in the management console.

profile picture
전문가
shibata
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

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

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

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