It was not DNS.
If you are scratching your head trying to find the root cause of the following problems:
- Accessing websites is slow but speedtest shows otherwise
git fetch taking around 5 or 15s
- Switching network adapter gives
ERR_CONNECTION_RESET
- Connections not routed correctly under transparent proxy
- Accessing a site gives SSL error
- Any mix and blend of the above
Then I have a diagnosis for you:
It was DNS.