pypi/inspector

IPv6 Inspector

cooperlees opened this issue · 2 comments

Can we add AAAA records please :). Happy to help if I can.

We only have legacy IP offered today:

[cooper@work ~]$ host inspector.pypi.io
inspector.pypi.io is an alias for inspector.cmh1.psfhosted.org.
inspector.cmh1.psfhosted.org has address 13.58.193.163
inspector.cmh1.psfhosted.org has address 18.217.27.127
inspector.cmh1.psfhosted.org has address 3.13.211.4
di commented

Long-term we should put this behind a CDN which provides IPV6. Adding @ewdurbin to see if there's something we can do in the short term.

If those IPs are direct to gunicorn for now all we should need is adding IPv6 addressing to the VPS instances + starting gunicorn with IPv6:

gunicorn -b '[::]:XXXX' - Where XXXX is the port
  • Linux will need /proc/sys/net/ipv6/bindv6only set to 0 to ensure dual stack binding

But I expect you probably have some kind of load balancer / reverse proxy in front of it doing TLS ...