The old DNS method is optionally enabled in k8s, but the env vars are always there. partial solution to #864
Fixes #695
Fixes #145