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 (18.104.22.168 , 22.214.171.124 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.