Date: Sun, 4 Jun 2000 11:43:32 -0400 From: "Troy Settle" <troy@picus.com> To: "Raymundo M. Vega" <RaymundoVega@home.com>, "Doug Barton" <Doug@gorean.org> Cc: <questions@FreeBSD.ORG> Subject: RE: IP vs CNAME Message-ID: <FCEELIAEIIECDGKKJLMIAECJCAAA.troy@picus.com> In-Reply-To: <3939F639.C00CE2BF@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
** -----Original Message----- ** From: Raymundo M. Vega ** ** if this is the file for bind, then where is the address of ** webhost.isp.net ** mailhost.isp.net ** That information would have been in the 'isp.net' zone file, which was not shown. Use your imagination. Don't expect someone to spell out the entire thing for the sake of an example (same reason I didn't put the SOA in the first post). ** you are not telling bind those address...it works like magic, but ** it needs a little help from us. Yeah.. that part was left as an excercise to the reader. Now.. as for the Zone file that I screwed up... @ IN SOA ns1.isp.net. hostmaster.isp.net. ( 2000060401 10800 3600 3600000 86400 ) IN MX 10 mailhost.isp.net. IN MX 20 spooler.isp.net. IN NS ns1.isp.net. IN NS ns2.isp.net. @ IN A ip.address.of.webhost www IN CNAME @ mail IN CNAME mailhost.isp.net. This is indeed what 180 or so zones looked like on my name servers (before my ISP was acquired). My only mistake in prior posts, was in assuming that you could do a CNAME on the origin. Thanks Doug for setting me straight. Anyways, back to the originial question... it doesn't matter if you use name-based or ip-based virtual hosts. The DNS config is equally easy for both. Every major browser released in the last 5 years or so should support HTTP/1.1, so it's really a non issue on that front. With name-based virtual hosts, it's sometimes more difficult to track down problems, and you may be generating additional problems on secure sites (I'm told this, I don't know from personal experience). With ip-based virtual hosts, you 'waste' ip addresses. Renumbering will be a bigger and bigger bitch with every host you add. -Troy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FCEELIAEIIECDGKKJLMIAECJCAAA.troy>