Make DK-HOSTMASTER show contact info for .dk domains.

Submitted by:	Søren Hansen <shan@soeren-hansen.dk>
This commit is contained in:
Poul-Henning Kamp 2007-01-19 08:13:17 +00:00
parent 9685457382
commit 64b4073914

View File

@ -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);
}