1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166103

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