more universal IP resolving: MacOS and Linux