View Full Version : Cannot validate nameservers
presyd
06-03-2006, 01:23 PM
I install the script properly but cannot validate no one of the nameservers FAILED, when i make query for any domain it's giving me Unavailable: for all, when i try whois--->blank screen.
For reference i try telnet one of the nameserver on port 43 and it's connected.
Using RedHat9.
Please Help!
Patrick
06-03-2006, 06:26 PM
Still sounds like a connection problem.
I assume you are using this locally on a redhat machine and you attempted to connect from that server (that is hosting the script) via telnet to the various nameservers?
There is a simple way to check if the problem is a connection related problem. Do some nameserver validations. If the detailed reports (that you can click and view) are blank, then the script is not being successful in connecting to the nameservers, usually due to a restrictive firewall setting.
If this is a home machine, try turning off the firewall briefly to see if that corrects the issue. If this is a server and you are the administrator, ensure that outgoing port connections to port 43 are not restricted. If the script is hosted elsewhere, as for outgoing port 43 connections to be allowed (make sure they understand that you are NOT requesting for incoming port 43 to be opened).
presyd
06-05-2006, 03:05 AM
I stop Firewall (iptables) but the same problem is there-->
Cannot validate nameservers, reports are blank.
Reference:
-The sciprt is hosted on the server RedHat 9
-Iam the administrator of that server
-Trying to Stop Firewall - Same problem
-Trying to start firewall and add the folowing command- iptables -A OUTPUT -p tcp --dport 43 -j ACCEPT - Same Problem
-Trying to put the script on another machine on my network running WinXP- Working Perfect
I cannot understand where is the problem?
Regards
presyd
06-05-2006, 03:11 AM
Patiek if its possible contact me trough MSN.
Thanks
Patrick
06-05-2006, 04:37 AM
I will see if I can.
This could still be PHP-related as well based on what you described.
You might want to open classes/engine.php and edit fsockopen that connects to the nameserver and remove the @ in front of it (to stop supressing errors):
On line 356 remove the @ from:
$whoisSocket = @fsockopen($address, $port, $errno, $errstr, $timeout);
Doing so may provide additional errors when you are attempting to use the script that may be caused by certain PHP settings.
presyd
06-05-2006, 06:57 AM
I try what you sugest, but the problem is the same.
Also i update the server with the latest version of PHP, Apache and everything else.
When i try example this--> telnet whois.afilias.info 43 its connected.
I notice something , when i try to validate nameservers the page is loading very fast, without any delay.
presyd
06-05-2006, 08:14 AM
Everything start,
funny but when i restart my apache server the script start to work.
Anyhow thanks for support Patiek
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.