whois returns exit code 1 for .com domains
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
whois (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
whois exits with code 1 for domains where whois.verisign-
=====
$ whois -H "domain google.com" --verbose; echo $?
Using server whois.verisign-
Domain Name: GOOGLE.COM
Registry Domain ID: 2138514_
Registrar WHOIS Server: whois.markmonit
Registrar URL: http://
Updated Date: 2011-07-
Creation Date: 1997-09-
Registry Expiry Date: 2020-09-
Registrar: MarkMonitor Inc.
Registrar IANA ID: 292
Registrar Abuse Contact Email: <email address hidden>
Registrar Abuse Contact Phone: +1.2083895740
Domain Status: clientDeletePro
Domain Status: clientTransferP
Domain Status: clientUpdatePro
Domain Status: serverDeletePro
Domain Status: serverTransferP
Domain Status: serverUpdatePro
Name Server: NS1.GOOGLE.COM
Name Server: NS2.GOOGLE.COM
Name Server: NS3.GOOGLE.COM
Name Server: NS4.GOOGLE.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https:/
>>> Last update of whois database: 2017-07-
For more information on Whois status codes, please visit https:/
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
1
====
Using a different whois server yields the expected exit code 0.
====
$ whois -H -h whois.markmonit
Using server whois.markmonit
Query string: "google.com"
Domain Name: google.com
Registry Domain ID: 2138514_
Registrar WHOIS Server: whois.markmonit
Registrar URL: http://
Updated Date: 2015-06-
Creation Date: 1997-09-
Registrar Registration Expiration Date: 2020-09-
Registrar: MarkMonitor, Inc.
Registrar IANA ID: 292
Registrar Abuse Contact Email: <email address hidden>
Registrar Abuse Contact Phone: +1.2083895740
Domain Status: clientUpdatePro
Domain Status: clientTransferP
Domain Status: clientDeletePro
Domain Status: serverUpdatePro
Domain Status: serverTransferP
Domain Status: serverDeletePro
Registry Registrant ID:
Registrant Name: Dns Admin
Registrant Organization: Google Inc.
Registrant Street: Please contact <email address hidden>, 1600 Amphitheatre Parkway
Registrant City: Mountain View
Registrant State/Province: CA
Registrant Postal Code: 94043
Registrant Country: US
Registrant Phone: +1.6502530000
Registrant Phone Ext:
Registrant Fax: +1.6506188571
Registrant Fax Ext:
Registrant Email: <email address hidden>
Registry Admin ID:
Admin Name: DNS Admin
Admin Organization: Google Inc.
Admin Street: 1600 Amphitheatre Parkway
Admin City: Mountain View
Admin State/Province: CA
Admin Postal Code: 94043
Admin Country: US
Admin Phone: +1.6506234000
Admin Phone Ext:
Admin Fax: +1.6506188571
Admin Fax Ext:
Admin Email: <email address hidden>
Registry Tech ID:
Tech Name: DNS Admin
Tech Organization: Google Inc.
Tech Street: 2400 E. Bayshore Pkwy
Tech City: Mountain View
Tech State/Province: CA
Tech Postal Code: 94043
Tech Country: US
Tech Phone: +1.6503300100
Tech Phone Ext:
Tech Fax: +1.6506181499
Tech Fax Ext:
Tech Email: <email address hidden>
Name Server: ns3.google.com
Name Server: ns1.google.com
Name Server: ns2.google.com
Name Server: ns4.google.com
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://
>>> Last update of WHOIS database: 2017-07-
0
====
I have tested this on Ubuntu Xenial with whois 5.1.1 and 5.2.11.
Other domains I have tested: amazon.com, cnn.com, apple.com, google.net
Changed in whois (Ubuntu): | |
status: | New → Fix Committed |
I think this bug is related: https:/ /bugs.launchpad .net/ubuntu/ +source/ whois/+ bug/1468742 but was said to be fixed.