[MacPorts] #68585: Can’t query AFNIC’s (.fr) whois server
MacPorts
noreply at macports.org
Sun Oct 29 09:06:26 UTC 2023
#68585: Can’t query AFNIC’s (.fr) whois server
--------------------+------------------------
Reporter: jleroy | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: whois
--------------------+------------------------
I can’t query AFNIC’s whois server using this port while it works with
macOS built-in whois command.
The server always answer `NOT FOUND`.
After digging using tcpdump, the issues seems to be that whois send a
`-VMd4.5` argument to the server, which should only be sent to « RIPE-like
» whois servers.
The thing I don’t undestand is that this issue has been fixed upstrean in
version [https://github.com/rfc1036/whois/blob/next/debian/changelog#L73
5.5.14] ([https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021110 Debian
bug]). I’m using 5.5.19.
Response received using macOS built-in whois client:
{{{
$ /usr/bin/whois -h whois.nic.fr nic.fr
%%
%% This is the AFNIC Whois server.
%%
%% complete date format: YYYY-MM-DDThh:mm:ssZ
%%
%% Rights restricted by copyright.
%% See https://www.afnic.fr/en/domain-names-and-support/everything-there-
is-to-know-about-domain-names/find-a-domain-name-or-a-holder-using-whois/
%%
%%
domain: nic.fr
status: ACTIVE
eppstatus: serverTransferProhibited
eppstatus: serverDeleteProhibited
hold: NO
...
}}}
Using this port:
{{{
$ whois -h whois.nic.fr nic.fr
%%
%% This is the AFNIC Whois server.
%%
%% complete date format: YYYY-MM-DDThh:mm:ssZ
%%
%% Rights restricted by copyright.
%% See https://www.afnic.fr/en/domain-names-and-support/everything-there-
is-to-know-about-domain-names/find-a-domain-name-or-a-holder-using-whois/
%%
%%
%% NOT FOUND
>>> Last update of WHOIS database: 2023-10-29T09:02:44.121612Z <<<
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68585>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list