From owner-freebsd-questions Mon Jun 5 1:49: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sdca.home.com (ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (Postfix) with ESMTP id 4478137BB87 for ; Mon, 5 Jun 2000 01:49:03 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000605084903.EXHW28251.mail.rdc1.sdca.home.com@home.com>; Mon, 5 Jun 2000 01:49:03 -0700 Message-ID: <393B697F.F3BFBA8B@home.com> Date: Mon, 05 Jun 2000 01:49:03 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Troy Settle Cc: Doug Barton , questions@FreeBSD.ORG Subject: Re: IP vs CNAME References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Troy Settle wrote: > > ** -----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 read RFC1912 page 5 raymundo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message