From 53becc06fe8e99aaf736fbea9df0fccd87736216 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 19 Jan 2007 08:13:17 +0000 Subject: Make DK-HOSTMASTER show contact info for .dk domains. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Submitted by: Søren Hansen --- usr.bin/whois/whois.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin') diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index 9c4a03e..1412687 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -304,6 +304,8 @@ whois(const char *query, const char *hostname, int flags) err(EX_OSERR, "fdopen()"); if (strcmp(hostname, GERMNICHOST) == 0) { fprintf(sfo, "-T dn,ace -C US-ASCII %s\r\n", query); + } else if (strcmp(hostname, "dk" QNICHOST_TAIL) == 0) { + fprintf(sfo, "--show-handles %s\r\n", query); } else { fprintf(sfo, "%s\r\n", query); } -- cgit v1.1