Querying for yahoo.com and dyn.com both work and return the correct results. A warning is generated when querying for dyn.com however:
Warning: fopen(whois.gtld.dyndns.php) [function.fopen]: failed to open stream: No such file or directory
Line line 499 in whois.client.php:
if (($fp = @fopen('whois.gtld.'.$hname.'.php', 'r', 1)) and fclose($fp))
Generates a the warning if the file does not exist for certain domains. Changing that line to:
if ( file_exists('whois.gtld.'.$hname.'.php') )
Seems to fix that issue.
This was an issue for me as I am using a framework that throws an exception on every php notice, warning, or error. Otherwise I probably wouldn't have noticed. Thanks!
One addition, the same check exists on line 239 of whois.main.php as well, thanks!!