[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: snv URL does not use FQDN

From: Monks, Peter <peter.monks_at_vignette.com>
Date: 2004-11-10 20:15:02 CET

G'day JM,

Just my $0.02, but storing IP addresses instead of hostnames would
probably only work if the machine the repository is hosted on has a
static IP. For machines with dynamic IP addresses (eg. that use DHCP)
this could cause some pretty big headaches.

There are a couple of ways to determine if A == A.B.C. The one that
I've seen used is to determine the IP address for hostname A, then
perform a reverse DNS lookup on that IP address to find out what the
fully qualified name (according to DNS) is. While this is possible, I
wouldn't recommend it, since it makes a large number of (IMVHO)
unacceptable assumptions (ie. that the server has a single hostname /
IP address, that that IP address is listed in DNS, etc. etc.).

Which isn't to say that I don't think that the original request is
unreasonable - I'm just not sure if there's a practical solution.

Cheers,
Peter
 
----------------------------------------------------------------------
Peter Monks http://www.sydneyclimbing.com/
pmonks_at_sydneyclimbing.com http://www.geocities.com/yosemite/4455/
----------------------------------------------------------------------
 

 
 

> -----Original Message-----
> From: JM Ibanez [mailto:jmibanez@gmail.com]
> Sent: Wednesday, November 10, 2004 10:08am
> To: Dale Worley
> Cc: users@subversion.tigris.org
> Subject: Re: snv URL does not use FQDN
>
> On Wed, 10 Nov 2004 12:35:26 -0500, Dale Worley
> <dworley@pingtel.com> wrote:
> > It is a good idea, but I'm not sure there is a workable
> method to implement
> > it. As far as I know, there isn't any standardized way to
> translate "A"
> > into "A.B.C", that is, to get the fully-qualified version
> of an abbreviated
> > machine name.
>
> Isn't it possible for the svn client to store the IP instead? (i.e. if
> A maps to IP w.x.y.z, and A.B.C maps to IP w.x.y.z, then A ~= A.B.C?)
>
> Also, isn't it possible to check that the domain of a particular
> machine while resolving the address of A (i.e., if machine has domain
> B.C., then all calls for A ~= A.B.C)?
>
> --
> JM Ibanez
> - A million monkeys can't go wrong...
> http://www.livejournal.com/~jmibanez/
> http://www.mycgiserver.com/~butiki/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 10 20:16:19 2004

This is an archived mail posted to the Subversion Users mailing list.