From owner-freebsd-questions Wed Sep 12 1:23: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.private.techsupport.co.uk (cabletel1.cableol.net [194.168.3.4]) by hub.freebsd.org (Postfix) with ESMTP id 2956237B408 for ; Wed, 12 Sep 2001 01:22:58 -0700 (PDT) Received: from ceri by cartman.private.techsupport.co.uk with local (Exim 3.31 #1) id 15h5IV-0005ES-00; Wed, 12 Sep 2001 09:23:03 +0100 Date: Wed, 12 Sep 2001 09:23:03 +0100 From: Ceri To: Chris Aitken Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Wildcard DNS Message-ID: <20010912092303.B19861@cartman.private.techsupport.co.uk> References: <5.1.0.14.2.20010912093351.031f3818@mail.ideal.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.2.20010912093351.031f3818@mail.ideal.net.au>; from chris@ideal.net.au on Wed, Sep 12, 2001 at 09:37:53AM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Sep 12, 2001 at 09:37:53AM +1000, Chris Aitken said: > Just wondering if anyone has had any experience with doing wildcard DNS > things. Ive seen it done in several places and I have a feeling its mostly > been done on NT boxen but im wondering if there is any sort of solution > people know if..... > > www.blah.com -> goes to the regular website > members.blah.com -> goes to the members website > foo.blah.com -> not mapped, goes to the error page $ORIGIN blah.com. www IN A 192.168.3.5 members IN A 192.168.3.6 * IN A 192.168.3.7 Note that if you're runnning all of these websites on the same http server, then you'll want to make the error page the default virtual host for this to work properly. Ceri -- Your local RFC Nazi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message