flyctl broken

My flyctl command seems to be busted. When running most flyctl commands, it fails with a

$ fly status
WARN failed querying for new release: Get "https://api.fly.io/app/flyctl_releases/linux/amd64/latest": dial tcp: lookup api.fly.io on 127.0.0.1:53: read udp 127.0.0.1:59173->127.0.0.1:53: read: connection refused
Error failed to get app: Post "https://api.fly.io/graphql": dial tcp: lookup api.fly.io on 127.0.0.1:53: read udp 127.0.0.1:49572->127.0.0.1:53: read: connection refused

However, doing a curl https://api.fly.io/app/flyctl_releases/linux/amd64/latest will work just fine.

$ fly version
flyctl v0.0.437 linux/amd64 Commit: 7073cc94 BuildDate: 2022-12-02T01:00:29Z

I’m running on Arch Linux.

It appears the flyctl-bin package is broken. Installing via the flyctl package works.