Package: whois
Version: 4.7.0

Upgrading from a woody to a sarge system, some of my software that makes
use of the output of DENIC's whois service stopped working, as someone
has hacked the sarge version of whois (currently 4.7.0), to
automatically pass special options whenever there is
a query to whois.denic.de, like so:


whois.c: Line 449ff

    /* why, oh why DENIC had to make whois "user friendly"?
     * I hope that adding -T dn,ace will not break some queries.
     */
    if (isripe && strcmp(server, "whois.denic.de") == 0 && domcmp(query,
".de")
·           && !strchr(query, ' '))
·       sprintf(buf, "-T dn,ace -C US-ASCII %s", query);


This somehow also breaks manual option passing using "-T",
i.e. I only seem to be able to influence the options passed
to the server when I use the IP-address of whois.denic.de
directly:

whois --verbose -h whois.denic.de -T st,dn fritz.de | head -n 2

-->

Using server whois.denic.de.
Query string: "-T dn,ace -C US-ASCII fritz.de"


whois --verbose -h `dig +short whois.denic.de` -T st,dn fritz.de | head
-n 3

-->

Warning: RIPE flags used with a traditional server.
Using server 81.91.162.7.
Query string: "-T st,dn fritz.de"


   Regards,
      Thomas

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to