and so Docker containers always default to using 8.8.8.8 rather than using the same DNS server as the host OS.. In my office network external DNS servers are blocked, and so me and my whole team are finding docker containers failing with obscure errors which result from failing to resolve DNS.

Raspberry Pi DNS Settings: How to Change the DNS - Pi My Feb 27, 2019 How to make permanent DNS changes to resolv.conf file on May 14, 2019 8.8.8.8, A DNS Number for Faster Browsing

As 8.8.8.8 is an anycast address you cannot tell which particular nameserver will respond. It should be the one that is closest in "hops" which is simply the number of routers that are between you and the destination network. You can use Steve Gibsons Domain Name Speed Benchmark to determine if that is the best DNS server to use in your location.

Fix DNS resolution in WSL2 · GitHub

May 22, 2020

and so Docker containers always default to using 8.8.8.8 rather than using the same DNS server as the host OS.. In my office network external DNS servers are blocked, and so me and my whole team are finding docker containers failing with obscure errors which result from failing to resolve DNS. Query another different Nameserver for DNS using Dig and Aug 03, 2011 How To Configure Bind as a Caching or Forwarding DNS Jul 01, 2014 Using host DNS in Docker container with Ubuntu 18 - Louis