Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2003 13:32:01 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Lee_Shackelford@dot.ca.gov
Cc:        freebsd-questions@freebsd.org
Subject:   Re: converting internet addresses
Message-ID:  <3F58C891.3040209@mac.com>
In-Reply-To: <OF7121C2E7.57103E94-ON88256D98.005BF143@dot.ca.gov>
References:  <OF7121C2E7.57103E94-ON88256D98.005BF143@dot.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
Lee_Shackelford@dot.ca.gov wrote:
> "What is the difference between what I am telling the
> DNS server and outgoing gateway router to do when I enter into my browser
> address box 'http://www.bsdcon.kwiki.org' and when I enter into my browser
> address box 'http://bsdcon.kwiki.org'?"

In this particular case, there is no difference.  Both names point to the same 
IP address:

1-sec# nslookup www.bsdcon.kwiki.org
Server:  localhost
Address:  127.0.0.1

Name:    www.bsdcon.kwiki.org
Address:  65.214.160.247

2-sec# nslookup bsdcon.kwiki.org
Server:  localhost
Address:  127.0.0.1

Name:    bsdcon.kwiki.org
Address:  65.214.160.247

You see different sites for the different names because the server is using 
named virtual domains.  In other words, the fact that your browser connects via 
one name or the other is the reason why you see different content as the result.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F58C891.3040209>