Depend on libnss-gw-name to make sure gateway.localhost always map to the current default gateway.