Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

In IPv6-only environment, can't connect to Redis due to DNS only looking for A records #10694

@xfk

Description

@xfk

Description

My redis instance has only an IPv6 address. The matrix-synapse container is throwing up a DNS lookup error:
2021-08-24 13:30:55,585 - twisted - 258 - ERROR - sentinel- Message: 'Connection to redis server %s failed: %s' 2021-08-24 13:30:55,585 - twisted - 258 - ERROR - sentinel- Arguments: ("b'matrix-test-redis-master':6379", DNSLookupError(b'matrix-test-redis-master'))
It also doesn't work with a FQDN IPv6-only address.

I did a tcpdump of DNS traffic in the container, it's only searching for A records (not AAAA).

  • Platform:

It's running in a IPv6-only Kubernetes cluster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-MajorMajor functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions