Wildcard A Record

Barry Margolin barmar at genuity.net
Mon Jul 16 14:58:13 UTC 2001


In article <9iutum$39a at pub3.rc.vix.com>, Lento Yip <lento at netfront.net> wrote:
>Does bind has a feature to map wildcard names to a fixed address ? e.g.
>*.domain.com to a fixed IP no matter what * is. Thanks.

It does it using the standard DNS wildcard feature.

* IN A 1.2.3.4

The wildcard only matches names that don't otherwise exist in the domain,
as specified in the DNS standard.  So if there's some name that has an MX
record and you want it to have this address, you'll need to give it an A
record explicitly; the wildcard won't apply to it.

Couldn't you have found this out much quicker by looking up "wildcard" in
the DNS&BIND index?

-- 
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