Red Hat Bugzilla – Bug 465182
Can't whois 9.4.e164.arpa (German ENUM domains)
Last modified: 2009-02-04 07:41:56 EST
Description of problem:
Per default, I'm not able to do a whois to German ENUM domains (which is
9.4.e164.arpa). If I read the configuration file correctly, I should be
able to do the following there:
"\\.9\\.4\\.e164\\.arpa$" = "whois.enum.denic.de";
whois-server = "whois.enum.denic.de";
query-format = "-C UTF-8 -T dn $*";
answer-charset = "UTF-8";
Unluckily, it doesn't work (it always tries to query ARIN somehow), but
I'm able to query it manually and it works there:
whois -h whois.enum.denic.de 184.108.40.206.220.127.116.11.9.4.e164.arpa -- -C UTF-8 -T dn
So can somebody please put the configuration correct into the default
configuration file and send it upstream? It shouldn't be that hard, maybe
a bit C is needed to fix, what seems to be broken somewhere (or I am just
too dumb, to put the stuff correctly into the /etc/jwhois.conf)...
Version-Release number of selected component (if applicable):
No whois for German ENUM domains possible.
Whois for German ENUM domains possible.
Request send to upstream, no response yet. (Unfortunately I have no luck with editing configuration file too.)
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
Still no response from Jonas:( But I investigate it a little bit... ARIN is selected because 18.104.22.168.22.214.171.124.9.4.e164.arpa matches to "\\([0-9]+\\.\\)+[0-9]+" = "struct cidr-blocks"; in jwhois.conf, then in "struct cidr-blocks" no match is found => default = "whois.arin.net"; is used.
In attachment is my proposed change. First - recognizing ENUM domain (I don't know much about these domains, so I'm not sure if this regexp is for 100 % correct), redirection to enum-domains block, where right server is selected (only whois.enum.denic.de at the moment for .9.4.e164.arpa). Server options remains as you posted them.
Created attachment 329789 [details]
Patch adds enum domains support to jwhois.conf
Vitezslav, ENUM domains are pretty simple: Take your telephone number
(+49-800-1234), reverse it (432100894) and put a dot in between of each
number (126.96.36.199.0.0.8.9.4) and afterwards only append the .e164.arpa
(188.8.131.52.0.0.8.9.4.e164.arpa). Of course you need a registry/NIC which
is able to handle that, Germany is doing so using DENIC.
Let me try your patch, I will come back to it with feedback.
Yes, that patch works for me. Thank you very much. Can we maybe get it
upstream and into Fedora, too?
That's a plan. But upstream is still not responding. So I'll probably put it into Rawhide during this week without upstream acceptance - I think it doesn't matter so much - it's not big change and it will be better tested in Rawhide too.
Good news - accepted by upstream and built in Rawhide (jwhois-4.0-10).