Fixed an issue with not resolved domain, with address fallback to 127.0.0.1

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>