Andy McKay

Feb 08, 2023

Actions, IPv6 and

I stood up a service on as a subdomain of an existing site. You can do this by adding a CNAME record to your DNS pointing to the instance. In this case is managed on Google Domains and currently points to GitHub pages site. Then is a instance.

When you do this on the dashboard, you’ll get a page that looks like this:

Added it all in, waited for DNS to update and it all worked. However, when I tried to hit using wget or curl in GitHub Action, I kept hitting:

Connecting to (|2a09:8280:1::db06|:443... failed: Network is unreachable.

It’s correctly resolved the IPv6 domain, so I wasn’t quite sure what the problem was. I couldn’t spot anything in the Actions documentation. In the end it was simple as adding in the IPv4 address for the domain. That isn’t shown on the dashboard, but you can find it in the Dashboard > Overview > Application > IP addresses section.

In my case adding in an A name to that IP address fixed the issue and curl and wget worked as expected. Why is doing this is covered here.