Skip to content

Instantly share code, notes, and snippets.

@philpennock
Created August 17, 2017 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philpennock/611387d1681880b7b37d95efeeaed50b to your computer and use it in GitHub Desktop.
Save philpennock/611387d1681880b7b37d95efeeaed50b to your computer and use it in GitHub Desktop.
Fix FreeBSD's whois to handle Verisign whois referral change
--- usr.bin/whois/whois.c.orig 2017-08-17 14:00:08.917506928 -0400
+++ usr.bin/whois/whois.c 2017-08-17 14:00:28.975792449 -0400
@@ -76,7 +76,7 @@
#define GERMNICHOST "de.whois-servers.net"
#define FNICHOST "whois.afrinic.net"
#define DEFAULT_PORT "whois"
-#define WHOIS_SERVER_ID "Whois Server: "
+#define WHOIS_SERVER_ID "Registrar WHOIS Server: "
#define WHOIS_ORG_SERVER_ID "Registrant Street1:Whois Server:"
#define WHOIS_RECURSE 0x01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment