adapt "get_routing_history" cmdnot not only ip address but also hostname