A template user tries to end the discussion with GoDaddy.
The retrieval of the "3 day space forecast"
http://services.swpc.noaa.gov/text/3-day-forecast.txt fails more often then it succeeds caused by a DNS error.
I also use GoDaddy, same script, same DNS error.
Other txt files from swpc.noaa.gov show intermittent failures.
I upped the cache time to 12 hours so that after a successful load of the txt file, the page loads normally.
QUESTION for help from other GoDaddy users.
The GoDaddy support person asked for
a working GoDaddy server where the script does not fail if tested a few times in succession. Then he can compare the DNS settings between the at least two servers who fail and other servers who never fail.
What you could help with:
1.Put the attached script on your website
2. Test it with
www.yourwebsite.com/testGoDaddy.php=> if it fails it is the normal situation, still happy to hear from you
=>
BUT if it runs OK multiple times, say every minute for 15 minutes, THEN WE NEED TO KNOW your website name
Godaddy support can then compare and try to find the differences between your and our GoDaddy settings.
Example runs with GoDaddy:
Fails always:
http://www.weerstation-leuven.be/testGodaddy.php [namelookup_time] => 0
Resolving timed out after 5000 millisecondsFails often:
http://m82a1.us/testGodaddy.php [namelookup_time] => 0
name lookup timed outb]Example[/b] other provider, no fails ever:
http://sluispark.be/testRobohost.php => [namelookup_time] => 0.519348 => DNS resolved , output loaded
The script retrieves the data using CURL at the webserver and by using an iframe directly in the browser.
The iframe part should never fail as it uses your LAN/router to resolve the DNS.
I attach a zip of the test script to upload to your website.
Feel free to check the code, can be done also with the example links by adding ?sce=view to the URL
There is also a screenshot how the output of the script looks when it fails.
If the script works OK the output in the iframe and at the bottom should be identical.
Wim
P.S. Or there is maybe another problem which we (user, support and myself) are unaware of.?