In the following example.org refers to an actual .org domain.
This check command:
check-whois-domain-expiration-multi.rb --domains example.org --warn 22 --critical 15
Fails with:
WhoisDomainExpirationCheck UNKNOWN: example.org (Parsing error)
This fails for all .org domains.
Doing a manual check using the ruby gem as follows works:
Gemfile.lock:
GEM
remote: https://rubygems.org/
specs:
whois (4.0.6)
PLATFORMS
ruby
DEPENDENCIES
whois
BUNDLED WITH
1.16.2
test.rb:
#!/usr/bin/env ruby
require 'bundler/setup'
require 'whois'
puts Whois::Client.new.lookup("example.org")