[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: Dale Worley <dworley_at_pingtel.com>
Date: 2004-11-10 20:24:00 CET

I was thinking that it would be better to test "IP-addr-of(A) =
IP-addr-of(A.B.C)", which is more likely to work, since people often do not
have reverse DNS working.

But that is not safe either, given that a single real host can host multiple
apparent Subversion HTTP servers -- HTTP/1.1 allows one server to use one IP
address, but serve several HTTP host names with possibly overlapping file
names.

Given that "svn switch http://A.B.C/xxx ." can be used to correct any
working copy that is created with an abbreviated host name, it seems to me
that it's safer to not try to solve the problem with a clever but fallable
automatic mechanism, but rather endure with a problem which will cause no
unpleasant surprises.

Dale

-----Original Message-----
From: Monks, Peter [mailto:peter.monks@vignette.com]

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.

---------------------------------------------------------------------
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:24:36 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.