On Tue, Jan 29, 2002 at 04:45:13PM -0500, doug waud wrote: douglas.waud> So the problem is to find out the dotted quad for zork.net. douglas.waud> I tried ping zork.net and it pinged 66.92.188.166. I then went there and douglas.waud> got crackmonkey.org. I tried pinging crackmonkey.org and got that same douglas.waud> 66.92.188.166 I got pinging zork.net ! arp zork.net and crackmonkey.org douglas.waud> also gives that same common dotted quad. Ping of the BBC default douglas.waud> address 64.81.65.8 gives nothing. As you have discovered, multiple hostnames can (and regularly do) point to the same dotted quad IP address. HTTP v1.1 supports what is called "Host-based Virtual Hosting". This means that many web sites, each with a distinct hostname, can exist on the same web server, even though the web server has only one IP address. The way HTTP distinguishes which host it wants in a query, it uses the Host: header. Try this:
telnet 66.92.188.166 80 HEAD / HTTP/1.1 Connection: close Host: zork.net
(hit enter for one blank line after the Host: line)
You should see this output:
HTTP/1.1 200 OK
Date: Tue, 29 Jan 2002 22:02:30 GMT
Server: Apache/1.3.22 (Unix) Debian GNU/Linux PHP/4.1.1
Last-Modified: Sun, 20 Jan 2002 18:09:58 GMT
ETag: "4f621-13ce-3c4b07f6"
Accept-Ranges: bytes
Content-Length: 5070
Connection: close
Content-Type: text/html
You can try "GET / HTTP/1.1" instead, if you want to see the whole page, not
just the HEADers. Then, try "Host: crackmonkey.org" and you should see a
different root webpage (if you used GET, not HEAD).
So, to answer your question about BBC, BBC must understand how to send
HTTP/1.1 Host: headers in order for this to work, and you must use a hostname,
not a dotted quad, unless it allows you to tell it what hostname to use in the
Host: header, while also specifying a dotted quad IP address for actually
making the TCP connection to port 80. Does it allow you to configure DNS name
resolution in the installer?
I've never used or even heard of BBC-linux, so I can't help any further.
--
Charles R. Anderson