{"id":13580280,"url":"https://github.com/nixcraft/domain-check-2","last_synced_at":"2025-04-06T02:31:21.053Z","repository":{"id":54755532,"uuid":"101509572","full_name":"nixcraft/domain-check-2","owner":"nixcraft","description":"Domain Expiration Check Shell Script Forked and Maintained by nixCraft","archived":true,"fork":false,"pushed_at":"2024-06-13T00:23:29.000Z","size":90,"stargazers_count":163,"open_issues_count":24,"forks_count":75,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-11-05T19:42:17.768Z","etag":null,"topics":["bash","domain-name","linux","macos","scripting-language","sh","shell","unix","whois"],"latest_commit_sha":null,"homepage":"https://www.cyberciti.biz/tips/domain-check-script.html","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nixcraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-26T19:51:08.000Z","updated_at":"2024-11-04T11:43:38.000Z","dependencies_parsed_at":"2024-08-01T15:32:11.200Z","dependency_job_id":"4c4d1c6d-d115-4130-9b99-876ba0e5bd59","html_url":"https://github.com/nixcraft/domain-check-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixcraft%2Fdomain-check-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixcraft%2Fdomain-check-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixcraft%2Fdomain-check-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixcraft%2Fdomain-check-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nixcraft","download_url":"https://codeload.github.com/nixcraft/domain-check-2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247425894,"owners_count":20937034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","domain-name","linux","macos","scripting-language","sh","shell","unix","whois"],"created_at":"2024-08-01T15:01:49.409Z","updated_at":"2025-04-06T02:31:20.756Z","avatar_url":"https://github.com/nixcraft.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Domain Expiration Check Shell Script\n====================================\nA simple shell script to display or notify the user via email about domain status and expiry date. \n\nInstallation:\n-------------\nUse the curl or wget command to grab script as follows:\n\n```\n$ wget https://raw.githubusercontent.com/nixcraft/domain-check-2/master/domain-check-2.sh\n## [ sample domain list for testing purpose ] ##\n$ wget https://raw.githubusercontent.com/nixcraft/domain-check-2/master/domain-list.txt \n## [ install it in /usr/local/bin dir ] ##\n$ sudo cp -vf domain-check-2.sh /usr/local/bin/domain-check-2\n$ sudo chmod +x /usr/local/bin/domain-check-2.sh\n```\n\nUsage:\n------\nRun it as follows:\n```\n$ domain-check-2 -d google.com\n$ domain-check-2 -d cyberciti.biz\n$ domain-check-2 -f domain-list.txt \n```\nSample outputs:\n```\nDomain                              Registrar                                      Status   Expires     Days Left\n----------------------------------- ---------------------------------------------- -------- ----------- ---------\nnixcraft.com                        GoDaddy.com, LLC                               Valid    10-may-2023   2022 \ngoogle.org                          MarkMonitor Inc.                               Valid    20-oct-2018   359  \ngoogle.net                          MarkMonitor Inc.                               Valid    15-mar-2018   140  \ngoogle.info                         MarkMonitor Inc.                               Valid    31-jul-2018   278  \ncyberciti.biz                       GoDaddy.com, Inc.                              Valid    30-jun-2024   2439 \ngoogle.in                           MarkMonitor Inc. (R84-AFIN)                    Valid    14-Feb-2018   111  \ngoogle.co.in                        MarkMonitor Inc. (R84-AFIN)                    Valid    23-Jun-2018   240  \ngoogle.us                           MarkMonitor, Inc.                              Valid    18-apr-2018   174  \ngoogle.uk                           Markmonitor Inc.                               Valid    11-Jun-2018   228  \ngoogle.co.uk                        Markmonitor Inc.                               Valid    14-Feb-2018   111  \ngoogle.jp                           Google                                         Valid    31-may-2018   217  \n\ngoogle.cz                           REG-MARKMONITOR                                Valid    22-jul-2018   269  \ngoogle.pl                           Markmonitor, Inc.                              Valid    18-sep-2018   327  \ngoogle.co                           MARKMONITOR, INC.                              Valid    24-Feb-2018   121  \ngoogle.ru                           RU-CENTER-RU                                   Valid    04-mar-2018   129  \ngoogle.blog                         MarkMonitor Inc                                Valid    19-aug-2018   297  \nlinux.cafe                          OVH SAS                                        Valid    14-nov-2018   384  \ngoogle.md                           Google Inc.                                    Valid    02-may-2018   188  \ngoogle.co                           MARKMONITOR, INC.                              Valid    24-Feb-2018   121  \ndotmobi.mobi                        CSC Corporate Dom                              Valid    11-may-2018   197  \ngoogle.me                           MarkMonitor Inc.                               Valid    13-jun-2018   230  \ngoogle.us                           MarkMonitor, Inc.                              Valid    18-apr-2018   174  \ngoogle.su                           RUCENTER-SU                                    Valid    15-oct-2018   354  \nyoutube.tv                          MARKMONITOR INC.                               Valid    14-aug-2018   292  \nabc.xyz                             MarkMonitor, Inc (TLDs)                        Valid    20-mar-2025   2702 \ngoogle.se                           MarkMonitor Inc                                Valid    20-oct-2018   359  \ngoogle.dk                           DK Hostmaster A/S                              Valid    31-mar-2018   156\n```\n[Setup Unix/Linux cron job](https://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/)  as follows to get email notification to send expiration notices:\n\n```\n@daily /path/to/domain-check-2.sh -f /path/to/your-domains.txt -e you@example.com\n```\nGetting help\n------------\n```\n$ domain-check-2.sh -h\nUsage: domain-check-2.sh [ -e email ] [ -x expir_days ] [ -q ] [ -a ] [ -h ]\n          {[ -d domain_namee ]} || { -f domainfile}\n\n  -a               : Send a warning message through email \n  -d domain        : Domain to analyze (interactive mode)\n  -e email address : Email address to send expiration notices\n  -f domain file   : File with a list of domains\n  -h               : Print this screen\n  -s whois server  : Whois sever to query for information\n  -q               : Don't print anything on the console\n  -x days          : Domain expiration interval (eg. if domain_date \u003c days)\n```\n\nAuthors:\n--------\n* Origianl Author: Matty \u003c matty91 at gmail dot com \u003e https://github.com/Matty9191\n* Forked and maitained by nixCraft https://www.cyberciti.biz/tips/domain-check-script.html \n* I added support and fixed for various C/TLDS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixcraft%2Fdomain-check-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnixcraft%2Fdomain-check-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixcraft%2Fdomain-check-2/lists"}