add localhost for ipv6 enabled hosts