Closed bloodearnest closed 8 months ago
The resolve conf has 192.168.201.37 and 8.8.8.8 in it.
dig +trace jobs.opensafely.org
from inside the airlock container is sad
Well I never.
udp/53 to 8.8.8.8 is allowed out!
And the 192.168.201.37 does not respond
I think the answer here is probably to put jobs.opensafely.org in /etc/hosts, like we did for github-proxy.opensafely.org
We should probably do that for all our DNS that resolve to dokku4
And we should probably figure out where the bogus DNS resolver entry came from, and remove it
Have confirmed that the windows host, ubuntu VM, and docker containers have the same DNS config, 8.8.8.8 and 192.168.201.37. The latter seems defunct and no longer works.
Sent email to TPP to ask for clarification.
Suspect they changed from the 192... address to 8.8.8.8 at some point, and haven't cleaned up the old entry
Ok, investigation completed.
Going to close this in favour of hardcoding DNS in /etc/hosts, as per https://github.com/opensafely-core/backend-server/issues/206
Will also remove both resolvers from Ubuntu VM's DNS config, and then ask TPP to remove 8.8.8.8 globally
Airlock is sometimes taking 5-15s to resolve DNS for jobs.opensafely.org
The container's resolve.conf has 8.8.8.8 in it, for some reason