Rsync in build fails at getaddrinfo

I have a Snap where I’m pulling some media using rsync. When building on build[.]snapcraft[.]io it fails with
rsync: getaddrinfo: 873: Name or service not known

The full build log is at
The server has existed for a while.
Is there some issues with rsync on the build environment?