find_lamers.pl 

my $res = Net::DNS::Resolver->new(
        nameservers => [$nameserver],
        recurse     => 0,
        debug       => 0,
);

my $packet = $res->send($domain, "NS");

if ($packet) {
    if ($packet->header->nscount) {
        foreach my $rr ($packet->authority) {
            my $name = lc($rr->rdatastr);
            $name =~ s{ . \z }{}xms;
            $data->{$domain}{$level}{authority}{$name}{name} = $name;
        }
    }