I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is extra time consumption during Reverse DNS Lookup.So please tell me any command or script which checks or makes the list for the Reverse DNS Lookup time.EDIT no. 1Tell also that where can I add that command in rsh source code so that I got a list of time consumed by every request, whenever it connects to other hosts.So that I can find the reason behind the hanging of server.
Command/scripts to check the Reverse DNS Lookup time
linux;networking;shell script;dns