No Such Host?

Hello,

I am using auto devops and am trying to get the build stage to work. However, I keep encountering this error:

Logging to GitLab Container Registry with CI credentials…
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://registry.gitlab.example.com:4567/v2/: dial tcp: lookup registry.gitlab.example.com on X.X.X.X:53: no such host
ERROR: Job failed: exit code 1

Can anyone make sense of this??