realbasic-nug
[Top] [All Lists]

Re: Determining if two urls point to the same server

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Determining if two urls point to the same server
From: Stefan Pantke <seaside dot ki at mac dot com>
Date: Sat, 30 Apr 2005 02:16:04 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <8d4912117e712f33f770efbdb35d86e3 at shaw dot ca> <009301c54d07$e03b4e20$6434a8c0 at advancedbionics dot com> <747fa2be1709115ba342ac907c7220d8 at shaw dot ca> <00c301c54d11$f12d5570$6434a8c0 at advancedbionics dot com>

Am 30. Apr 2005 um 01:19 schrieb Roger Meier:

A) Do you have two addresses (e.g. http://www.apple.com and
http://support.apple.com) and you want to see if they point to the same IP? You would need to be connected to the network and resolve the addresses for
that.

Nope ... problem is I may NOT be connected but have 2 URLS.
If I fail to connect to one, and the other points to the same server, there's no point trying it either is there ?

Actually, in this case you wouldn't connect to either one. You would have to make a DNS query and get the IP number for both. On OSX you could use shell and call the command 'host' with your address as the argument, e.g 'host www.apple.com'.

And even if you query DNS, several IPs might get returned, since
several A or Alias records might be registered.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>