[Freeipa-users] Using CNAME to point to different domain name

Andrey Ptashnik APtashnik at cccis.com
Thu May 7 16:30:55 UTC 2015


Hi Martin,

Thank you for a catch! I just noticed that I was missing the dot you mentioned!

Regards,

Andrey


From: Martin Basti <mbasti at redhat.com<mailto:mbasti at redhat.com>>
Date: Thursday, May 7, 2015 at 2:37 AM
To: Andrey Ptashnik <aptashnik at cccis.com<mailto:aptashnik at cccis.com>>, "freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>" <freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>>
Subject: Re: [Freeipa-users] Using CNAME to point to different domain name

On 06/05/15 22:28, Andrey Ptashnik wrote:
Hello Team,

We are hosting a few servers at Amazon and using their Elastic Load Balancing service that gives us a link to a load balancer in the following format:

webserver-1234567890.us-east-1.elb.amazonaws.com

I was looking for a ways to implement a shorter alias using CNAME like:

webserver.mydomain.com   pointing to longer link from the load balancer   webserver-1234567890.us-west-2.elb.amazonaws.com

Is there a way to do it in RHEL 7.1 with IPA server 4.1.0 using different domain names?

Regards,

Andrey



Hello Andrey,

If I understand correctly, IPA manages mydomain.com zone, so adding CNAME record should be simple:

ipa dnsrecord-add mydomain.com webserver --cname-rec='webserver-1234567890.us-west-2.elb.amazonaws.com.'   # <-- do not forget to add dot at the end

If mydomain.com is managed outside IPA, the CNAME should be set on that external server, IPA cannot help in this case.

Martin

--
Martin Basti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20150507/e7b51316/attachment.htm>


More information about the Freeipa-users mailing list