summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2007-01-19 08:13:17 +0000
committerphk <phk@FreeBSD.org>2007-01-19 08:13:17 +0000
commit53becc06fe8e99aaf736fbea9df0fccd87736216 (patch)
tree2e7f142619ed7ef3122d77a4bc6f64502785c667 /usr.bin
parent4e9ace58c2704aa479abc22ea7d79817aff75229 (diff)
downloadFreeBSD-src-53becc06fe8e99aaf736fbea9df0fccd87736216.zip
FreeBSD-src-53becc06fe8e99aaf736fbea9df0fccd87736216.tar.gz
Make DK-HOSTMASTER show contact info for .dk domains.
Submitted by: Søren Hansen <shan@soeren-hansen.dk>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/whois/whois.c2
1 files changed, 2 insertions, 0 deletions
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);
}
OpenPOWER on IntegriCloud