Wildcard domain resolving

Barry Margolin barmar at genuity.net
Mon May 1 14:40:59 UTC 2000


In article <qQZO4.16230$jZ3.213746 at nuq-read.news.verio.net>,
Roger Marquis  <not-for-mail at roble.com> wrote:
>>Barry Margolin <barmar at bbnplanet.com> wrote:
>>>You could use the same zonefile for every domain:
>>>zone "domain1.com" { type primary; file "common.db"; };
>>>zone "domain2.com" { type primary; file "common.db"; };
>>
>Roger Marquis <not-for-mail at roble.com> wrote:
>>This will work for multiple domains but what about multiple hostnames?
>>Wildcards work for MX records but there seems to be no way of doing 
>>it for A records.
>
>My mistake.  I just tested it under 8.2.2R5 and wildcards do work
>(hurrah) for both A and CNAME records.

And there's no reason why they shouldn't work for *any* type of record.
Checking for a wildcard takes place *before* comparing types.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list