<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/05/15 18:30, Andrey Ptashnik
wrote:<br>
</div>
<blockquote
cite="mid:10136309-7911-40DD-B5C4-B3317DD0925A@cccis.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div>
<div>
<div>Hi Martin,</div>
<div><br>
</div>
<div>Thank you for a catch! I just noticed that I was missing
the dot you mentioned!</div>
<div>
<div id="">
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Andrey</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt;
text-align:left; color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Martin Basti <<a
moz-do-not-send="true" href="mailto:mbasti@redhat.com">mbasti@redhat.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, May 7,
2015 at 2:37 AM<br>
<span style="font-weight:bold">To: </span>Andrey Ptashnik
<<a moz-do-not-send="true"
href="mailto:aptashnik@cccis.com">aptashnik@cccis.com</a>>,
"<a moz-do-not-send="true"
href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a>"
<<a moz-do-not-send="true"
href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re:
[Freeipa-users] Using CNAME to point to different domain name<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/05/15 22:28, Andrey
Ptashnik wrote:<br>
</div>
<blockquote
cite="mid:A7B06BD4-F241-4E1C-8DE4-18193378DB74@cccis.com"
type="cite">
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
Hello Team,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
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:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
webserver-1234567890.us-east-1.elb.amazonaws.com</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
I was looking for a ways to implement a shorter alias
using CNAME like:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
webserver.mydomain.com pointing to longer link from
the load balancer
webserver-1234567890.us-west-2.elb.amazonaws.com</div>
<div>
<div id="">
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
Is there a way to do it in RHEL 7.1 with IPA server
4.1.0 using different domain names?</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
Regards,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
Andrey</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,
sans-serif; font-size: 14px;">
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
Hello Andrey,<br>
<br>
If I understand correctly, IPA manages mydomain.com zone, so
adding CNAME record should be simple:<br>
<br>
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<br>
<br>
If mydomain.com is managed outside IPA, the CNAME should be
set on that external server, IPA cannot help in this case.<br>
<br>
Martin<br>
<pre class="moz-signature" cols="72">--
Martin Basti</pre>
</div>
</div>
</span>
</blockquote>
You are welcome.<br>
<br>
<pre class="moz-signature" cols="72">--
Martin Basti</pre>
</body>
</html>