KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Ping and Http test of destination with multiple IP addresses

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
wacl_itstaff



Joined: 26 Oct 2016
Posts: 3

PostPosted: Thu Nov 17, 2016 7:54 am    Post subject: Ping and Http test of destination with multiple IP addresses Reply with quote

We have recently moved our website to an external company. We have setup an http test to a couple important URL's to ensure that they are available. Unfortunately, this test will fail occasionally because the site may not respond on the IP addresses that I assume AHM received when it did a DNS lookup (DNS round-robin). The provider has stated that they will almost always have at least one of those addresses that won't respond. As such, our test fails occasionally even though the website is responding well on another address.

I thought I could create a master ping test to only fail if all IP's aren't responding but that won't resolve the fact that the HTTP test could be testing a failed IP. Any thoughts?

Is there a way to tell the test, upon failure, to do another lookup for that host (Hopefully grabbing another address)?

Any ideas would be appreciated.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Nov 17, 2016 8:05 am    Post subject: Reply with quote

HostMonitor does not store DNS cashe. If DNS server returns wrong IP, test will fail but the same may happen when your clients will try to visit your web site.

Quote:
The provider has stated that they will almost always have at least one of those addresses that won't respond

May be I misunderstood the problem but I think you should change provider.

Quote:
As such, our test fails occasionally even though the website is responding well on another address.

But your clients (or google) will use URL with hostname, not IP so they will not be able to visit your site. Am I right?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
wacl_itstaff



Joined: 26 Oct 2016
Posts: 3

PostPosted: Thu Nov 17, 2016 11:26 am    Post subject: Reply with quote

Apparently they have setup their system so that any of their external IP's will forward the http/https query to the web server(s). They setup our host name, in DNS, to answer with any of these IP's (Round-robin). As per design, when you try to browse the machine will do a lookup for that hostname which will return all available IP's. As long as the page responds on one of them the page will load. Of course if they first try to connect to the URL via one of the unavailable IP's then it will timeout and try the next IP.

I am wondering how I can duplicate this behavior in AHM because for some reason we get multiple failures in a row when checking http. Are you saying that it isn't caching the IP? If so, do you think the test is failing multiple times in a row due to the randomness of the test (It randomly happened to pull the same bad IP multiple times in a row... ie. enough to generate a Bad status (Which in our case is 5 tests).?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Nov 17, 2016 12:52 pm    Post subject: Reply with quote

You may setup URL test instead of HTTP test, it should work like Internet Explorer.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index