in reply to
Re^2: Creating hash with variables
in thread Creating hash with variables
Note that for general DNS applications, a hash is not necessarily the best choice of data structure, because one domain might resolve to different IP addresses (126.96.36.199 , 188.8.131.52 for PerlMonks) and multiple domains might resolve to the same IP address(es) (perlmonks.org , perlmonks.net and perlmonks.com use these two IP addresses). But for well-known, "major" IP addresses, a simple hash lookup might be what's needed.