Check /etc/resolv.conf every time for 127.* content

A continuation of @rhatdan's PR #8455, closes #8425.