nixcraft / domain-check-2

Domain Expiration Check Shell Script Forked and Maintained by nixCraft
https://www.cyberciti.biz/tips/domain-check-script.html
Other
163 stars 76 forks source link

Please add support for .hu+.sk domains + posibility of command for expiry only #34

Open ShaiMagal opened 4 years ago

ShaiMagal commented 4 years ago

Hello,

1) Please add support for .hu+.sk+.eu domains

2) Is it possible to add any command for only return expiry date? Now I must use awk command for this. And it returning like: 13-mar-2020 - but better is 13-03-2020 (again I must use strtr for make it bettere readable)

Version latest now (2.18)

hawkeye116477 commented 4 years ago

Please add support for .hu+.sk+.eu domains

Whois doesn't show interesting info for these domains, so it's not possible. You need manually go to for example https://eurid.eu and check it.

Anyway, see #42.

click0 commented 4 years ago

Hello,

1. Please add support for .hu+.sk+.eu domains

My fork of the script works. https://github.com/click0/domain-check-2

# sh domain-check-2.sh -d google.sk

Domain                              Registrar                                      Status   Expires     Days Left
----------------------------------- ---------------------------------------------- -------- ----------- ---------
google.sk                           MARK-0292                                      Valid    24-jul-2021   321
click0 commented 4 years ago
2\. Is it possible to add any command for only return expiry date? Now I must use awk command for this. And it returning like:
    13-mar-2020 - but better is 13-03-2020 (again I must use strtr for make it bettere readable)

Approximately here you can independently override the ${DOMAINDATE} variable