Make sure localhost can resolve to 127.0.0.1 in loopback

Merge:	releng/9.1.0
(cherry picked from commit 86a106befd73d11c95ec5ef114f636debc748586)