Docker pull not using correct DNS server when private registry on VPN

I am facing the same problem with Version 1.11.1-beta14 (build: 8670). When I hop on VPN i get this

➜ ~ docker pull redis Using default tag: latest Pulling repository Network timed out while trying to connect to You may want to check your internet connection or if you are behind a proxy.