new extraction of IP inside function get_registered_ip for host and nslookup thanks to jow for the sed Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>