Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3809470
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:18:37+00:00 2026-05-19T15:18:37+00:00

I am looking to do a bulk domain name lookup to see if some

  • 0

I am looking to do a bulk domain name lookup to see if some domain names are available for purchase. I couldn’t find a perl module, but it seems like there should be a way to do this in perl. I am looking for something free. thx!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T15:18:38+00:00Added an answer on May 19, 2026 at 3:18 pm

    From here: http://www.webhostingtalk.com/showthread.php?t=625723

    Here’s a quick perl script that requires Net :: DNS (fairly common module).

    #!/usr/bin/perl
    
    # Domains Available
    # Josh Skidmore <josh@vorcado.com>
    # 05 August 2007 | 11:40p EST
    
    # Requirements
        use Net::DNS;
    
    # Variables
        %VAR    =   (
                        db => './domains.txt',
                    );
    
    # Open file
        open (DB,$VAR{'db'});
        my (@domains) = <DB>;
        close (DB);
    
    # Test domains
        foreach my $domain (@domains)
            {
                chomp($domain);
    
                my ($available) = &check_domain(domain => $domain);
    
                if ($available)
                    {
                        print "$domain is available.<br />\n";
                    }
                else
                    {
                        print "$domain is NOT available<br />\n";
                    }
            }
    
    sub check_domain {
    
        # Test domain for existance
        # Josh Skidmore <josh@vorcado.com>
        # 05 August 2007 | 11:42p EST
    
        # Variables
            my (%DATA) = @_ ;
            my ($available) = 0;
    
        # Start Net::DNS
            my $res = Net::DNS::Resolver->new;
            $res->udp_timeout(2);
            $res->tcp_timeout(2);
    
            my ($domain) = $res->search($DATA{'domain'});
    
            if ($domain)
                {
                    ($available) = 1;
                }
    
        # Output
            return ($available);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking at some assembly code for x86_64 on my Mac, I see the following
Looking for a perl one-liner what will find all words with the next pattern:
I want to implement bulk availability checking of .co.za domain names as accurately as
I'm looking for the most efficient way to bulk-insert some millions of tuples into
Is there any way to speed up bulk inserting in 2005? I'm looking into
Looking at some of the code System.Linq I've come across some examples of Buffer<TSource>
I'm looking to bulk remove users from a database with a script for every
I am looking for some library that takes the TextWriter approach to writing SQL
Occasionally I am looking at some code, I search for usages of a method
I'm looking to identify some possible software options that will allow for custom rules

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.