can this be done with wildcards?
Veaceslav Revutchi
vr at dnt.md
Mon Dec 9 21:11:28 UTC 2002
Hi,
I am looking for a wildcard solution to the following scenario:
1.1.1.1.mydomain.com A 111.111.111.111
1.1.1.2.mydomain.com A 111.111.111.111
... skiping around 10K records
9.9.9.8.mydomain.com A 111.111.111.111
9.9.9.9.mydomain.com A 111.111.111.111
In other words I need to be able to say something
like the following in my zone file:
[0-9].[0-9].[0-9].[0-9].mydomain.com A 111.111.111.111
or better yet:
*.[0-9].[0-9].[0-9].[0-9].mydomain.com A 111.111.111.111
The reason a simple *.mydomain.com doesn't work for me is
because I don't want domain names like 2.2.mydomain.com or
1.2.3.mydomain.com to be resolved.
To rephrase my question can some kind of regular expressions be
used in named zone files?
Thanks in advance for any advice.
slava
More information about the bind-users
mailing list