IPv6 Support for cdn.registry.gitlab-static.net

Summary

host with ipv6 only public interface can't pull docker images from registry.gitlab.com.

Steps to reproduce

dig AAAA cdn.registry.gitlab-static.net @2606:4700:4700::1111

; <<>> DiG 9.16.27-Debian <<>> AAAA cdn.registry.gitlab-static.net @2606:4700:4700::1111
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 398
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;cdn.registry.gitlab-static.net.        IN      AAAA

;; AUTHORITY SECTION:
gitlab-static.net.      900     IN      SOA     ns-1269.awsdns-30.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400

;; Query time: 8 msec
;; SERVER: 2606:4700:4700::1111#53(2606:4700:4700::1111)
;; WHEN: Sat Aug 20 11:04:26 UTC 2022
;; MSG SIZE  rcvd: 144

Example Project

tried to pull: registry.gitlab.com/leifwind/trader/trader:495e3cdc

What is the current bug behavior?

dig +short A cdn.registry.gitlab-static.net @2606:4700:4700::1111
34.149.22.116
dial tcp 34.149.22.116:443: connect: network is unreachable

What is the expected correct behavior?

AAAA DNS lookup for cdn.registry.gitlab-static.net returning a valid IPv6.

Edited by 🤖 GitLab Bot 🤖