Wildcard DNS

Beavis pfunix at gmail.com
Fri Sep 12 03:28:01 UTC 2008


Barry,

   thanks for the reply, can you give me a bit of a hint with regards
to the format of the actual zone?

On Thu, Sep 11, 2008 at 8:45 PM, Barry Margolin <barmar at alum.mit.edu> wrote:
> 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