62c62
<     while ($domain =~ /\./) {
---
>     while ($domain =~ /[^.]\.[^.]/) {
166a166,169
>         #
>         # If the domain name is an IP address, do not ascend the DNS component label hierarchy
>         
>         if ($domain !~ /^[0-9.]+$/) {
173a177,180
>         } else {
>             LWP::Debug::debug("  domain $domain is an IP address and will not be ascended");
>             last;
>         }
