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

I am getting the same error as gekkonen after having attempted to upgrade to the latest Discourse version.

It appears Docker can no longer access the Internet at all from the default bridge network:

docker run -it --net=bridge --rm busybox ping -c 1 github.com
ping: bad address 'github.com'

If I force it to use the host network, it can access the Internet:

docker run -it --net=host --rm busybox ping -c 1 github.com
PING github.com (140.82.112.4): 56 data bytes
64 bytes from 140.82.112.4: seq=0 ttl=53 time=6.902 ms

--- github.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 6.902/6.902/6.902 ms

I am also running Ubuntu 18.04.4 LTS, having upgraded all packages and installed all security upgrades just prior to following the Discourse upgrade sequence.