Coder Social home page Coder Social logo

whois-proxy's Introduction

Whois Proxy Server

A simple no-frills (bleeding edge, not for production use) whois proxy server.

Description

A simple no-frills (bleeding edge, not for production use) whois proxy server. Acts as the middle-man between your client (PHP script, iOS app, etc.) and the actual whois servers so you don't need to store a list of whois servers in your client.

  • written in node.js (mainly as an exercise for me to learn node.js)
  • seems to work as expected
  • hardcoded to run on port 9000
  • no caching of results so if we are blocked by the whois server, we'll just return the error message to the user
  • doesn't have/need a list of whois servers since we get this automatically from IANA
  • the whois servers for different TLDs are cached so we don't need to keep querying the IANA server

Requirements

Usage

node main.js

If you would like to turn on verbose output to console

node main.js --verbose

or

node main.js -v

TODO

  • Hard whois for .com and .net
  • Caching
  • Extract common data (eg. name servers and expiry date).
  • Make text parsing non-blocking (?)

License

Copyright (c) 2013-2018, Joe Jacobs. All rights reserved.

Released under a 3-clause BSD License.

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.