CNAME or A record?

Jukka Pakkanen jukka.pakkanen at qnet.fi
Wed Sep 28 15:00:10 UTC 2011


Webserver still has to get the request, so one way or the other is 
required anyway :)


28.9.2011 17:43, ?? kirjoitti:
>
> this is the stuff what should be done by webserver rather than by DNS. 
> i,e, Apache rewrite will do that.
>
> ? 2011-9-28 ??10:29,"feralert" <feralert at gmail.com 
> <mailto:feralert at gmail.com>> ??:
> > Hi all,
> >
> > I'm sure this has been asked trillions of times but since I couldn't
> > find any concrete answer/reference in google I am asking you guys in
> > this list. Sorry if anyone thinks this a dumb question or something
> > very obvious.
> >
> > The thing is that i want users redirected to 'www.domain.com 
> <http://www.domain.com>' even
> > when they just type the domain name 'domain.com <http://domain.com>'.
> > In order to do so I am not sure if its best to have one A RR for each
> > or have an A RR for the domain and a CNAME RR pointing to 
> 'domain.com <http://domain.com>'
> > for 'www.domain.com <http://www.domain.com>'.
> >
> >
> > domain.com <http://domain.com> A 1.1.1.1
> > www.domain.com <http://www.domain.com> A 1.1.1.1
> >
> > OR
> >
> > domain.com <http://domain.com> A 1.1.1.1
> > www.domain.com <http://www.domain.com> CNAME domain.com 
> <http://domain.com>
> >
> >
> > Any help appreciated.
> >
> >
> > Thanks,
> > Fred
> > _______________________________________________
> > Please visit https://lists.isc.org/mailman/listinfo/bind-users to 
> unsubscribe from this list
> >
> > bind-users mailing list
> > bind-users at lists.isc.org <mailto:bind-users at lists.isc.org>
> > https://lists.isc.org/mailman/listinfo/bind-users
>
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110928/82f5e299/attachment.html>


More information about the bind-users mailing list