Hello!
Today I encountered a problem with obtaining information about a domain in the .ag zone.
I can't get domain information any way other than requesting it on whois.iana.com.
I will create tickets in both repositories (python-whois and WhoisDomain), because... it seems like one is a continuation of the other, based on the ticket https://github.com/DannyCork/python-whois/issues/322
To Reproduce
Steps to reproduce the behavior:
Trying to use DannyCork/python-whois:
(whois) jony@jony-ThinkPad-L13:~/personal/repos/github$ git clone git@github.com:DannyCork/python-whois.git
Cloning into 'python-whois'...
remote: Enumerating objects: 2728, done.
remote: Counting objects: 100% (785/785), done.
remote: Compressing objects: 100% (299/299), done.
remote: Total 2728 (delta 525), reused 682 (delta 478), pack-reused 1943
Receiving objects: 100% (2728/2728), 790.12 KiB | 698.00 KiB/s, done.
Resolving deltas: 100% (1753/1753), done.
(whois) jony@jony-ThinkPad-L13:~/personal/repos/github$ cd python-whois/
(whois) jony@jony-ThinkPad-L13:~/personal/repos/github/python-whois$ ./test2.py -d google.com.ag
test domain: <<<<<<<<<< google.com.ag >>>>>>>>>>>>>>>>>>>>
Domain: google.com.ag; Exception: WhoisCommandFailed; Error: getaddrinfo(whois.nic.ag): Name or service not known
# ========================
WhoisCommandFailed google.com.ag getaddrinfo(whois.nic.ag): Name or service not known
Trying to use mboot-github/WhoisDomain (the same error):
(WhoisDomain) jony@jony-ThinkPad-L13:~/personal/repos/github$ git clone git@github.com:mboot-github/WhoisDomain.git
Cloning into 'WhoisDomain'...
remote: Enumerating objects: 6814, done.
remote: Counting objects: 100% (322/322), done.
remote: Compressing objects: 100% (213/213), done.
remote: Total 6814 (delta 185), reused 200 (delta 94), pack-reused 6492
Receiving objects: 100% (6814/6814), 5.78 MiB | 817.00 KiB/s, done.
Resolving deltas: 100% (3814/3814), done.
(WhoisDomain) jony@jony-ThinkPad-L13:~/personal/repos/github$ cd WhoisDomain/
(WhoisDomain) jony@jony-ThinkPad-L13:~/personal/repos/github/WhoisDomain$ ./test2.py -d google.com.ag
test domain: <<<<<<<<<< google.com.ag >>>>>>>>>>>>>>>>>>>>
Domain: google.com.ag; Exception: WhoisCommandFailed; Error: getaddrinfo(whois.nic.ag): Name or service not known
# ========================
WhoisCommandFailed google.com.ag getaddrinfo(whois.nic.ag): Name or service not known
This looks like a registrar issue.
I didn't find any information about problems with the whois.nic.ag on the https://www.nic.ag, but now this address is not in the DNS:
Can you help me in explaining the reasons, if possible, and solving the problem using python-whois or WhoisDomain?
I assume that it is possible to retrieve domain information from iana.org, but I did not see this option in the repository documentation, and I also suspect that this may be the wrong way to obtain information.
Describe the bug
Hello! Today I encountered a problem with obtaining information about a domain in the
.ag
zone. I can't get domain information any way other than requesting it onwhois.iana.com.
I will create tickets in both repositories (python-whois
andWhoisDomain
), because... it seems like one is a continuation of the other, based on the ticket https://github.com/DannyCork/python-whois/issues/322To Reproduce
Steps to reproduce the behavior:
Trying to use
DannyCork/python-whois
:Trying to use
mboot-github/WhoisDomain
(the same error):Expected behavior
Get domain information like below:
Screenshots
No need.
Desktop (please complete the following information):
Smartphone (please complete the following information):
No need.
Additional context
OS
whois
:Try to use iana whois (for demo, I used web for get full result):
This looks like a registrar issue. I didn't find any information about problems with the
whois.nic.ag
on the https://www.nic.ag, but now this address is not in the DNS:Can you help me in explaining the reasons, if possible, and solving the problem using
python-whois
orWhoisDomain
?I assume that it is possible to retrieve domain information from
iana.org
, but I did not see this option in the repository documentation, and I also suspect that this may be the wrong way to obtain information.