Git Product home page Git Product logo

domain-profiler's Introduction

What is domain-profiler?

domain-profiler is a tool that uses information from various sources (Whois, DNS, SSL, ASN) to determine what decisions have been made regarding a domain or list of domains.

These decisions fall into two categories:

  1. Decisions that cost money.
    • Where the website is hosted.
    • Where DNS is hosted.
    • Where email is hosted.
    • The registrar of the domain.
    • Who issued the domain's SSL certificate (if anybody)
    • What sort of SSL certificate the domain has (if any)
  2. Decisions that might or might not cost money.
    • Does the website use an image host like S3 or Imageshack?
    • Does the domain have SPF records? If so, what values?
    • What TTL do the DNS records have?
    • Expiration date for domain.
    • Expiration date for SSL certificate.
    • Is there more than one result for the A, MX, or NS records?
    • Are services hosted in different Autonomous Systems?
    • Are all services (A, MX, NS) in the same AS?
    • Does the main webpage have valid XHTML?
    • What type of frontend is the domain using?
    • What type of mailserver is the domain using?
    • Does the domain have a "*" record in DNS?
    • What sub-domains are dectable via HTTP 3xx redirects?
    • What sub-domains are dectable in the contents of '/'?

This version of domain-profiler only generates reports on the "Decisions that cost money".

Setup and Examples

Setup

The ./profile-list command uses Google Charts, so you'll need to install Matt Aimonetti's googlecharts gem.

gem install googlecharts

Example output from the ./profile command:

$ ./profile github.com
Fetching data for github.com: DNS Whois SSL ...


==========[ github.com ]==========
Web Hosting:
  (Rackspace)
      207.97.227.239

DNS Hosting:
  (anchor.net.au)
      ns1.anchor.net.au.
      ns2.anchor.net.au.
  (EveryDNS.net)
      ns1.everydns.net.
      ns2.everydns.net.
      ns3.everydns.net.
      ns4.everydns.net.

Email Hosting:
  (Google)
      1 ASPMX.L.GOOGLE.com.
      10 ASPMX2.GOOGLEMAIL.com.
      10 ASPMX3.GOOGLEMAIL.com.
      5 ALT1.ASPMX.L.GOOGLE.com.
      5 ALT2.ASPMX.L.GOOGLE.com.

Domain Registrar:
  (Go Daddy)

SSL Issuer:
  (GoDaddy.com, Inc.)
      Common Name: *.github.com

Example output from the ./profile-list command:

Quantcast Top 100

./profile-list quantcast 'Quantcast Top 100' > quantcast.html

Based on the output from the profile-list command, the Quantcast Top 100 domains appear to largely self host their websites, Email, and DNS. Interestingly, a large segment of these domains are registered with Mark Monitor or the Corporation Service Company, presumeably for the domain management and brand protection services that these companies provide. The domains with SSL certificates tend to have certificates issued by VeriSign.

Y Combinator startups

  ./profile-list ycombinator 'Y Combinator startups' > ycombinator.html

Based on the output from the profile-list command, Y Combinator startups use a wide range of web hosts, but tend towards SoftLayer, Amazon, and Slicehost. If they aren't using Google Apps for Email hosting, they do it themselves. They generally do not host DNS themselves (much to my surprise - I expected to see a smaller list of DNS providers). They largely register their domains and get SSL certificates from GoDaddy, which I found surprising considering GoDaddy's reputation

Thanks

  • Brian Lopez for help with Ruby and RSpec.
  • Team Cymru for the awesome IP to ASN API.
  • Hacker News user brett for the inspiration.
  • Jed Smith for the advice on using ARIN's WHOIS to find more accurate OrgName data on IP addresses.

LICENSE

(The MIT License)

Copyright (c) 2009-2010 Joel Franusic <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

domain-profiler's People

Contributors

adamstac avatar dandrews avatar gruseom avatar icco avatar infertux avatar jpf avatar obscurerichard avatar peterc avatar pospischil avatar sean-lynch avatar stammy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.