Main menu

You are here

recursive dns resolver script in tcl

This script deals with the fact that cnames are sometimes the answers to dns queries.
For example, in the below dig we get dns-any-yadayada. We don't want that, we want the IP address. The script recursively digs until it gets the ip address.