Wildcard Q/A
Mark Andrews
Mark_Andrews at isc.org
Thu Mar 22 04:16:59 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
>
>
Also if you do want to remap entire heirachies one
way to do this is with DNAME. Note you do not
use DNAME with wildcard owners.
e.g.
example.com DNAME example2.net
There is also no children of example.com allowed.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list