added external ip resolver