Perl experts: whois query question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rhesus
    Confirmed User
    • Aug 2004
    • 2009

    #1

    Perl experts: whois query question

    Is there a perl command specifically for retrieving the registrant email from the whois record?
  • u-Bob
    there's no $$$ in porn
    • Jul 2005
    • 33063

    #2
    do some regex voodoo

    Comment

    • darksoul
      Confirmed User
      • Apr 2002
      • 4997

      #3
      see
      Net::Whois
      1337 5y54|)m1n: 157717888
      BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
      Cambooth

      Comment

      • Rhesus
        Confirmed User
        • Aug 2004
        • 2009

        #4
        bumpbump

        Comment

        • Tom_PM
          Porn Meister
          • Feb 2005
          • 16443

          #5
          No, but check cpan for the module that darksoul told you about.

          That module gets whois info for .com, .net, .org and . edu domains including "contact" info if available.
          43-922-863 Shut up and play your guitar.

          Comment

          • Rhesus
            Confirmed User
            • Aug 2004
            • 2009

            #6
            Originally posted by PR_Tom
            No, but check cpan for the module that darksoul told you about.

            That module gets whois info for .com, .net, .org and . edu domains including "contact" info if available.
            yes, but it doesn't make a difference between the registrant email and the other emails in the whois records (like [email protected]). Any solutions?

            Comment

            • Blizzard
              Confirmed User
              • Jan 2006
              • 200

              #7
              For the 2nd time, use Regex.

              Comment

              • drjones
                Confirmed User
                • Oct 2005
                • 908

                #8
                Originally posted by Rhesus
                yes, but it doesn't make a difference between the registrant email and the other emails in the whois records (like [email protected]). Any solutions?
                well it should be a simple matter after that to filter out the email addresses you dont want.
                ICQ: 284903372

                Comment

                • Rhesus
                  Confirmed User
                  • Aug 2004
                  • 2009

                  #9
                  Originally posted by Blizzard
                  For the 2nd time, use Regex.
                  I'm sorry, but I still fail to see how a regex could tell me what the registrant email is and what a random email

                  Comment

                  • Rhesus
                    Confirmed User
                    • Aug 2004
                    • 2009

                    #10
                    Originally posted by drjones
                    well it should be a simple matter after that to filter out the email addresses you dont want.
                    Namecheap is just one of hundreds of registrars...

                    Comment

                    • Rhesus
                      Confirmed User
                      • Aug 2004
                      • 2009

                      #11
                      bumpbump

                      Comment

                      • u-Bob
                        there's no $$$ in porn
                        • Jul 2005
                        • 33063

                        #12
                        Originally posted by Rhesus
                        I'm sorry, but I still fail to see how a regex could tell me what the registrant email is and what a random email
                        try harder

                        Comment

                        • Ron Bennett
                          Confirmed User
                          • Oct 2003
                          • 1653

                          #13
                          There is no simple solution to what you are seeking because there is no standard Whois format for .com / .net domains - registars use varying formats.

                          On a related note, many registrars rate-limit queries - and some are very aggressive ... they'll block entire IP ranges and/or file automated complaints to the owner of the offending IP block(s).

                          Ron

                          p.s. don't expect much help because many people will assume you're planning to spam whois emails.
                          Domagon - Website Management and Domain Name Sales

                          Comment

                          • Crypt
                            Confirmed User
                            • Apr 2004
                            • 2225

                            #14
                            Originally posted by Rhesus
                            Is there a perl command specifically for retrieving the registrant email from the whois record?
                            Download VerySign database on their FTP, should be a good start

                            Comment

                            • Ron Bennett
                              Confirmed User
                              • Oct 2003
                              • 1653

                              #15
                              The VeriSign .com registry database only contains the list of active domains along with their respective name servers, etc.

                              .com / .net registry use a "thin" registry model - they don't store much beyond the basics required for a domain name to function ... the rest of the data, in particular the registrant, contacts, emails, etc is stored independently by the various registrars.

                              Supposedly, registrars are supposed to submit their Whois data to ICANN, but not sure how often that happens, or even if that actually happens in reality.

                              Ron
                              Domagon - Website Management and Domain Name Sales

                              Comment

                              Working...