All Projects → nixcraft → Domain Check 2

nixcraft / Domain Check 2

Licence: other
Domain Expiration Check Shell Script Forked and Maintained by nixCraft

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Domain Check 2

Geo
🌎 A Bash utility for easy wan, lan, router, dns, mac address, and geolocation output, with clean stdout for piping
Stars: ✭ 225 (+110.28%)
Mutual labels:  sh, unix
Covise
Collaborative Visualization and Simulation Environment, OpenCOVER and OddLOT
Stars: ✭ 101 (-5.61%)
Mutual labels:  unix
Unix Text Commands
Unix Text Processing Command Reference
Stars: ✭ 78 (-27.1%)
Mutual labels:  unix
Ldap4net
OpenLdap port for DotNet Core (Linux\OSX\Windows)
Stars: ✭ 93 (-13.08%)
Mutual labels:  unix
Gvcci
color extraction to turn images into 16 color palettes
Stars: ✭ 86 (-19.63%)
Mutual labels:  unix
Xnotify
read notifications from stdin and pop them up on the screen
Stars: ✭ 97 (-9.35%)
Mutual labels:  unix
Oh
A new Unix shell.
Stars: ✭ 1,206 (+1027.1%)
Mutual labels:  unix
Unix Permissions
Swiss Army knife for Unix permissions
Stars: ✭ 106 (-0.93%)
Mutual labels:  unix
Screen Recorder Ffmpeg Cpp
*Multimedia project* A screen recording application to capture your desktop and store in a video format. Click here to watch the demo
Stars: ✭ 98 (-8.41%)
Mutual labels:  unix
Bin
~/bin
Stars: ✭ 93 (-13.08%)
Mutual labels:  unix
Irccat
cat to IRC
Stars: ✭ 91 (-14.95%)
Mutual labels:  unix
Imscript
a collection of small and standalone utilities for image processing, written in C
Stars: ✭ 86 (-19.63%)
Mutual labels:  unix
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (-8.41%)
Mutual labels:  unix
Jobber
An alternative to cron, with sophisticated status-reporting and error-handling
Stars: ✭ 1,217 (+1037.38%)
Mutual labels:  unix
.dot Config
📚 Example dot configs for tmux, tmuxp, vim, vcspull, i3 and awesome
Stars: ✭ 102 (-4.67%)
Mutual labels:  sh
Coax
A (barely working) native Wire client for Unix
Stars: ✭ 77 (-28.04%)
Mutual labels:  unix
Networkmanager
A powerful tool for managing networks and troubleshoot network problems!
Stars: ✭ 1,296 (+1111.21%)
Mutual labels:  whois
Sh Exec
💻 Use `Template literals` write shell script made happy ❤️.
Stars: ✭ 95 (-11.21%)
Mutual labels:  sh
Punk.py
unix SSH post-exploitation 1337 tool
Stars: ✭ 107 (+0%)
Mutual labels:  unix
Minishell
As beautiful as a shell
Stars: ✭ 105 (-1.87%)
Mutual labels:  unix

Domain Expiration Check Shell Script

A simple shell script to display or notify the user via email about domain status and expiry date.

Installation:

Use the curl or wget command to grab script as follows:

$ wget https://raw.githubusercontent.com/nixcraft/domain-check-2/master/domain-check-2.sh
## [ sample domain list for testing purpose ] ##
$ wget https://raw.githubusercontent.com/nixcraft/domain-check-2/master/domain-list.txt 
## [ install it in /usr/local/bin dir ] ##
$ sudo cp -vf domain-check-2.sh /usr/local/bin/domain-check-2
$ sudo chmod +x /usr/local/bin/domain-check-2.sh

Usage:

Run it as follows:

$ domain-check-2 -d google.com
$ domain-check-2 -d cyberciti.biz
$ domain-check-2 -f domain-list.txt 

Sample outputs:

Domain                              Registrar                                      Status   Expires     Days Left
----------------------------------- ---------------------------------------------- -------- ----------- ---------
nixcraft.com                        GoDaddy.com, LLC                               Valid    10-may-2023   2022 
google.org                          MarkMonitor Inc.                               Valid    20-oct-2018   359  
google.net                          MarkMonitor Inc.                               Valid    15-mar-2018   140  
google.info                         MarkMonitor Inc.                               Valid    31-jul-2018   278  
cyberciti.biz                       GoDaddy.com, Inc.                              Valid    30-jun-2024   2439 
google.in                           MarkMonitor Inc. (R84-AFIN)                    Valid    14-Feb-2018   111  
google.co.in                        MarkMonitor Inc. (R84-AFIN)                    Valid    23-Jun-2018   240  
google.us                           MarkMonitor, Inc.                              Valid    18-apr-2018   174  
google.uk                           Markmonitor Inc.                               Valid    11-Jun-2018   228  
google.co.uk                        Markmonitor Inc.                               Valid    14-Feb-2018   111  
google.jp                           Google                                         Valid    31-may-2018   217  

google.cz                           REG-MARKMONITOR                                Valid    22-jul-2018   269  
google.pl                           Markmonitor, Inc.                              Valid    18-sep-2018   327  
google.co                           MARKMONITOR, INC.                              Valid    24-Feb-2018   121  
google.ru                           RU-CENTER-RU                                   Valid    04-mar-2018   129  
google.blog                         MarkMonitor Inc                                Valid    19-aug-2018   297  
linux.cafe                          OVH SAS                                        Valid    14-nov-2018   384  
google.md                           Google Inc.                                    Valid    02-may-2018   188  
google.co                           MARKMONITOR, INC.                              Valid    24-Feb-2018   121  
dotmobi.mobi                        CSC Corporate Dom                              Valid    11-may-2018   197  
google.me                           MarkMonitor Inc.                               Valid    13-jun-2018   230  
google.us                           MarkMonitor, Inc.                              Valid    18-apr-2018   174  
google.su                           RUCENTER-SU                                    Valid    15-oct-2018   354  
youtube.tv                          MARKMONITOR INC.                               Valid    14-aug-2018   292  
abc.xyz                             MarkMonitor, Inc (TLDs)                        Valid    20-mar-2025   2702 
google.se                           MarkMonitor Inc                                Valid    20-oct-2018   359  
google.dk                           DK Hostmaster A/S                              Valid    31-mar-2018   156

Setup Unix/Linux cron job as follows to get email notification to send expiration notices:

@daily /path/to/domain-check-2.sh -f /path/to/your-domains.txt -e [email protected]

Getting help

$ domain-check-2.sh -h
Usage: domain-check-2.sh [ -e email ] [ -x expir_days ] [ -q ] [ -a ] [ -h ]
          {[ -d domain_namee ]} || { -f domainfile}

  -a               : Send a warning message through email 
  -d domain        : Domain to analyze (interactive mode)
  -e email address : Email address to send expiration notices
  -f domain file   : File with a list of domains
  -h               : Print this screen
  -s whois server  : Whois sever to query for information
  -q               : Don't print anything on the console
  -x days          : Domain expiration interval (eg. if domain_date < days)

Authors:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].