Wildcard DNS
Barry Margolin
barmar at alum.mit.edu
Fri Sep 12 02:45:07 UTC 2008
In article <gachqa$s4v$1 at sf1.isc.org>, Beavis <pfunix at gmail.com> wrote:
> Greetings List,
>
> I wanted to ask for some advice with regards to setting up a
> wildcard dns, a box that I will set on all my domains (unused ones)
> that will point them to a specific page i want. is it possible to do
> this on just one zone file? one that will answer all the domains
> pointed to it?
>
> Scenario:
>
> If i have 5k domains, I want to point all those domains to my bind
> box, and I want bind to answer them and point them to only one site
> that i specified. I don't want to create a zone file per domain.
Just use the same "file" parameter in all the zone statements.
zone "foo.com" {
type master;
file "wildcard.db";
};
zone "bar.com" {
type master;
file "wildcard.db";
};
....
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users
mailing list