Re: Test for valid URL?
Re: Test for valid URL?
- Subject: Re: Test for valid URL?
- From: Doug McNutt <email@hidden>
- Date: Sat, 18 Sep 2010 14:15:21 -0600
At 22:50 -0500 9/17/10, Michael Grant wrote:
>On Fri, Sep 17, 2010 at 10:14 PM, Doug McNutt <email@hidden> wrote:
>> At 20:44 -0500 9/17/10, Michael Grant wrote:
>>>curl some random text
>>>
>>>in my Terminal on 10.6.4 produces no result - it just chews on it for
>>>a few seconds, then displays a new prompt.
>>
>> That is really screwy.
>>
>> try curl -v some random text
>
>Here's what I get then:
>
>* About to connect() to some port 80 (#0)
>* Trying 67.215.65.132... connected
>* Connected to some (67.215.65.132) port 80 (#0)
>> GET / HTTP/1.1
>> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
>> Host: some
>> Accept: */*
>>
67.215.65.132 is apparently owned by "hit-nxdomain.opendns.com"
If I go there with a browser I get transferred to <http://guide.opendns.com/?url=hit-nxdomain.opendns.com>
Something in your operating system has been told to go to an IP address when an operation using port 80, the HTTP port, specifies an invalid URL.
<http://forums.opendns.com/comments.php?DiscussionID=3768>
Indicates that localhost may be set to 67.215.65.132 rather than 127,0,0,1.
OpenDNS is a feature that can be configured on a router and it may do things as you see whenever someone requests an invalid URL. It's just possible that you have found a router-based solution to the original question. An nslookup or dig that returns that IP is known to be invalid!
<http://www.opendns.com/> might be something you, or your company might have subscribed to. It apparently can replace the domain name server provided by your internet service provider..
--
Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden