Wildcard Q/A

Chris Buxton cbuxton at menandmice.com
Wed Mar 21 20:19:18 UTC 2007


On Mar 21, 2007, at 12:12 PM, AF wrote:
> Thanks for the quick reply Chris.
>
> I am not too sure what you mean by: "You should not have a wildcard on
> the ***right side*** of a CNAME record."
>
> It would be better to use a wildcard CNAME record pointed to an A
> record?
>
> For example:
> *.foo.com. IN CNAME a.abc.com.
> *.bar.com. IN CNAME a.abc.com.
> a.abc.com. IN A 192.168.1.20

What I meant was, you should not have an asterisk on the right side  
of a CNAME record, after the token "CNAME". So this is something you  
should *not* do:

any.thing.    CNAME    *.anything.

The example you gave works fine. It would also work fine like this:

*.foo.com. IN CNAME a.abc.com.
*.abc.com. IN A 192.168.1.20

Chris Buxton
Men & Mice



More information about the bind-users mailing list