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

A continuation of @rhatdan's PR #8455, closes #8425.
Can you put this defer before writing the file. Also I'm not sure if Fatal will os.Exit without executing the defer, or not. To be prudent I would t.Error + return instead.