Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Suggest to add support for id extension #49

Open
indrahartawan opened this issue Apr 18, 2022 · 1 comment
Open

Suggest to add support for id extension #49

indrahartawan opened this issue Apr 18, 2022 · 1 comment

Comments

@indrahartawan
Copy link

Hi there,

You can add support for .id extension

Whois server = whois.id

Registrar pattern
REGISTRAR=cat ${WHOIS_TMP} | ${AWK} -F':' '/Registrar Organization:/ && $0 != "" { REGISTRAR=substr($0,36,32) } END { print REGISTRAR }'``

Expired date pattern
cat ${WHOIS_TMP} | ${AWK} '/Expiration Date:/ { print $3 }'

Thank you

@click0
Copy link

click0 commented Jul 24, 2022

Use my fork script.

# ./domain-check-2.sh -d adg.id

Domain                              Registrar                                      Status   Expires     Days Left
----------------------------------- ---------------------------------------------- -------- ----------- ---------
adg.id                              PANDI Registrar                                Valid    09-dec-2022 138

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants