MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » March 2014

Re: Is there a better way to determine whether a URL is reachable?



fixed

I'm not sure if this is better or worse. Just potential suggestions.

Do a traceroute. I am wondering if the "helpful" stuff is just restricted
to web pages.

Maybe also try running whois. No output would mean no internet connection.

I wish I had a great idea.

John McKee


On Wed, Mar 26, 2014 at 6:12 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

This is profoundly weird.

We just changed ISPs, and I'm updating our installers to reflect that.
And I experienced some weirdness.

It seems that our new ISP has something called "web address error
redirect service," that's enabled by default.

This caused me some (as I said) profound weirdness, trying to test an
update to one of our installer programs. It pings our FTP server's URL,
to verify that it can find it, and failing that, it tries the IP address.

With my WinDoze box still on the old DNS addresses, and my Mac tied up
doing something else, I was getting the expected "not found" messages
when pinging from a WinDoze command line, or using a browser on WinDoze.
I didn't find out about the "web address error redirect service" until I
got my Mac (already on the new DNS) back, and tried to open test.test
from a browser, and got a page of "suggestions."

Until I disabled it, this "web address error redirect service" was
giving PING a resolution on intentionally nonexistent URLs.

Is there a better way, assuming nothing installed above the OS, to check
whether a domain is reachable, than by pinging it? A way that is immune
to this "web address error redirect service" (just in case some customer
actually leaves it turned on)?

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact