wildcards and A records

Barry Margolin barmar at alum.mit.edu
Wed Oct 27 03:58:46 UTC 2004


In article <clm42v$1nv3$1 at sf1.isc.org>,
 stromboli2 at hotpop.com (Stromboli) wrote:

> Hi,
> 
> I have a simple question, I understand you can't use regular
> expressions in A records but you can use wildcards. If I put a record
> like this:
> 
> image*.mydomain.com            A  myip
> 
> if I user types images.mydomain.com or imagenes.mydomain.com will be
> redirected to myip? or I just can a wilcard like *.mydomain.com (it's
> the only type I've seen in the examples I looked)
> 
> Is there any related problems if you use something like 
> image*.mydomain.com

The DNS specification only covers a wildcard when it's used all alone in 
the leftmost label, e.g. *.mydomain.com.

With BIND 8 I've successfully used name.*.domain.com.  I don't know if 
it still works in BIND 9.

I don't think any version of BIND supports name*.mydomain.com.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list