Wildcarded CNAMEs (slightly OT)

Darrin Chandler dwchandler at stilyagin.com
Wed Jun 7 18:34:21 MST 2006


On Wed, Jun 07, 2006 at 06:18:58PM -0700, Bill Jonas wrote:
> I ran into a situation at work today when configuring DNS for a
> customer.
> 
> Is it permissible to have a wildcarded CNAME?  I'm talking about,
> conceptually, a zone file that looks like this after the SOA record:
> 
>   example.com.  IN NS     ns1.foo.bar.
>   example.com.  IN NS     ns2.foo.bar.
>   example.com.  IN CNAME  example.net.
> *.example.com.  IN CNAME  example.net.

The short answer is No. It's been a long time since I was heavy into
BIND, but as I remember wildcards don't do what you think they do. Of
course that's very unfortunate because almost everyone wants to do
exactly what you're trying to do.

When I was doing SA work I had domain and host adding done in scripts,
which added the MX for each host.

-- 
Darrin Chandler            |  Phoenix BSD Users Group
dwchandler at stilyagin.com   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |


More information about the PLUG-discuss mailing list