Could not resolve host: github.com for SamSaffron/pups.git

I’m experiencing a similar issue on the latest discourse git. This started happening after performing a system update and/or discourse update via the web UI. Now when I try to rebuild the app, I get:

[root@forum /var/discourse]# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
8f082ebcb977f9efafbdbff15ab69e8d06c0a7e2cb99410f85e1f90b03ae733b
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

I can ping github.com and 8.8.8.8, and I’ve tried editing /etc/default/docker to toggle the DNS option: DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"

Where should I continue investigating this?

This is Ubuntu 18.04 with latest updates applied.