A/zone entry using wildcard.
Kevin Darcy
kcd at daimlerchrysler.com
Thu Sep 22 23:35:26 UTC 2005
Fabiano Silos Reis wrote:
>Content-Type: text/plain;
> charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>Hi list,
>
>I would like to know if it is possible to register a entry using wildcard in
>named like:
>
>test* IN A 127.0.0.1
>
>In a way that when I execute 'nslookup test001.mydomain' I get the address
>127.0.0.1.
>
>Other question is, can I register a zone entry using wildcard?
>
>Example:
>
>zone "test*.domain" {
> type master;
> file "zones/test.domain";
>};
>
>
No. Not possible in BIND. The DNS protocol defines a wildcard mechanism,
but it only matches 1 or more whole labels.
Of course, you could always just put 1 or more wildcard records into
"domain" itself and not have any subzones. The wildcard would match the
name "test001.domain" and anything else under "domain" that wasn't
already explicitly defined.
>If no for both questions, do someone know a patch to make named answer using
>this wildcard?
>
I know of no such patch.
- Kevin
More information about the bind-users
mailing list