using cname for redirection?

Barry Margolin barmar at alum.mit.edu
Sat Dec 29 20:54:43 UTC 2007


In article <fl69u7$2ssf$1 at sf1.isc.org>, <aklist_bind at enigmedia.com> 
wrote:

> Hi All: Is there any valid way in DNS to point requests for 
> "something.domain1.com" to "somethingelse.domain2.com"?
> 
> Can a CNAME be used for that?

That's precisely what CNAMEs are for.

> In this particular instance, I have a domain where the mail is being hosted 
> at godaddy.com (email.secureserver.net), and when godaddy maintained the NS, 
> they were aliasing "webmail.yourdomain.com" to "email.secureserver.net".
> 
> If I take over the DNS, normally I'd need to create an A record for 
> "webmail" and point it at the IP for "email.secureserver.net"...but what if 
> there is more than one IP for that address?

Use a CNAME to create an alias, just like godaddy did.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list