This is due to a change made in Concourse v6.7.2, where the property
garden.allow_host_access was changed to false. As a result, the containers are unable to access the BOSH DNS nameserver.
To resolve this, host access needs to be enabled in garden. This can be done by following the documentation
here.
Once this is done, ensure that the Worker VMs in your concourse deployment are recreated, to ensure that their iptables are updated correctly.