Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111556

Summary: whoischk is patched to use jwhois in gentoo, which breaks functionality
Product: Gentoo Linux Reporter: Guillaume Destuynder (RETIRED) <kang>
Component: Current packagesAssignee: Guillaume Destuynder (RETIRED) <kang>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guillaume Destuynder (RETIRED) gentoo-dev 2005-11-05 06:18:28 UTC
jwhois is caching whois queries. whoischk is made to check when a domain change
or becomes available, however, because of the cache, whoischk will be unable to
check in time.
original whoischk uses whois.
To fix this simply also patch it so that it uses "-f" as jwhois argument, this
will effectively disable cache for whoischk.

On a side note, whois queries are throttled. It means if you monitor 2 or more
domains using whoischk, it will not work because it requests too fast.
I added a sleep 8 to my whoischk so that it works correctly.
I can make a clean patch if necessary. (with option to force sleeping time)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
whoischk checks over local whois cache

Expected Results:  
whoischk should check domains change when they happen
Comment 1 SpanKY gentoo-dev 2006-10-23 10:19:42 UTC
i dont maintain whoischk ...

feel free to add the fix yourself Guillaume
Comment 2 Guillaume Destuynder (RETIRED) gentoo-dev 2006-11-09 07:34:28 UTC
added the -f flag to the jwhois patch and added a patch to throttle queries.
the patch could be enhanced to work per whois server, but it does the work.
in cvs.