Hello,
I wrote a slax script which print on screen the path used by a multicast flow. So the output is a list of ip-addresses (the traversed hops): 10.0.1.1 10.0.1.40. I would like the script to resolve this IP addresses into host-name, using the DNS server, in order to print on screen the host-name associated with the IP addresses...
Does anyone have any suggestions on how to implement that in a slax script? I guess another solution is to use a static list containing the IP<-->host-name mapping, stored locally on the router (maybe defining an xml variable into the script itself); I don't like this option though, cause it would be painful to mantain...
I'd really appreciate your help,
thanks in advance,
Mattia