Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 09:23:03 +0100
From:      Ceri <ceri@techsupport.co.uk>
To:        Chris Aitken <chris@ideal.net.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Wildcard DNS
Message-ID:  <20010912092303.B19861@cartman.private.techsupport.co.uk>
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 %2B1000
References:  <Pine.BSF.4.33.0109111704390.71462-100000@iceberg.web-walru s.com> <5.1.0.14.2.20010912093351.031f3818@mail.ideal.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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