Hi Martin,

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



From: Martin Basti <mba...@redhat.com<mailto:mba...@redhat.com>>
Date: Thursday, May 7, 2015 at 2:37 AM
To: Andrey Ptashnik <aptash...@cccis.com<mailto:aptash...@cccis.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:


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   

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



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 Basti
Manage your subscription for the Freeipa-users mailing list:
Go to http://freeipa.org for more info on the project

Reply via email to