Coder Social home page Coder Social logo

domain-name-checker's Introduction

Domain Name Checker

Check domain name status in batch, with style!

BuildStatus Coverage PEP8 License

Requirement

Python (2 or 3) No other pip packages required.

Usage example

  • Add domains you want to check into domains.csv
  • Add mailing config into config.ini
  • ./domain-name-checker.py
  • It sends mails when some test failed. Specify ./domain-name-checker.py --always-send-email true to force send a mail.
  • For further help, type ./domain-name-checker.py -h
  • One can also use ./domain-name-checker.js instead as a nodejs wrapper of python version

Config.ini example

[Mail]
Sender = [email protected]
Password = mygmailpassword
Receivers = [email protected],[email protected]
MailServer = smtp.gmail.com:587

Domains.csv example

# Sample file of domains.csv
# Empty lines and lines starting with '#' will be ignored

# Check if this domain is valid
github.com

# Check if this domain is valid, with some description
github.com, I like github

# Check if this domain leads to where it should be
# Since github.com has multiple IP (currently), these may either succeed or fail
github.com, , 192.30.253.112
github.com, github, 192.30.253.112

# Some examples that will fail
no.such.domain
no.such.domain, , 12.34.567.890
github.com, wrong ip, 1.1.1.1

License License

Distributed under the MIT license. See LICENSE for more information.

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.