can this be done with wildcards?
vr at dnt.md
Mon Dec 9 21:11:28 UTC 2002
I am looking for a wildcard solution to the following scenario:
22.214.171.124.mydomain.com A 126.96.36.199
188.8.131.52.mydomain.com A 184.108.40.206
... skiping around 10K records
220.127.116.11.mydomain.com A 18.104.22.168
22.214.171.124.mydomain.com A 126.96.36.199
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 188.8.131.52
or better yet:
*.[0-9].[0-9].[0-9].[0-9].mydomain.com A 184.108.40.206
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.
More information about the bind-users