<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"HP Simplified";
        panose-1:2 11 6 4 2 2 4 2 2 4;}
@font-face
        {font-family:"HP Simplified Light";
        panose-1:2 11 4 4 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"HP Simplified Light","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D">Rakesh,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D">I think you would benefit from looking into the MOBIKE capabilities of Strongswan. This is there to cater with the change of IP address and re-homing
 the connection.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:black">Andy Paton -
</span></b><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#262626">Bsc. (Hons), MBCS</span><b><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:black"><br>
</span></b><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#717172">Innovation Engineer<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#717172"><a href="mailto:andy.paton@hp.com"><span style="color:#717172">andy.paton@hp.com</span></a><br>
<br>
<br>
</span><a href="http://www.hp.com/"><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#717172;text-decoration:none"><img border="0" width="30" height="30" id="Picture_x0020_2" src="cid:image001.png@01CEA975.D67431D0" alt="HP"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> users-bounces+andy.paton=hp.com@lists.strongswan.org [mailto:users-bounces+andy.paton=hp.com@lists.strongswan.org]
<b>On Behalf Of </b>Rakesh Bansod<br>
<b>Sent:</b> 04 September 2013 13:15<br>
<b>To:</b> users@lists.strongswan.org<br>
<b>Subject:</b> [strongSwan] regarding dns resolution<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">hi,<br>
I want to know how the dns is resolved in strongswan.<br>
if i give right=<a href="http://rakesh.com">rakesh.com</a> and for this a particular ip is written in /etc/hosts, so the connection goes up easily.<br>
But in logs it shows the ip while connecting this means that somewhere inside the name is replaced by ip.<br>
what actually happen???<br>
<br>
also i made other side "<a href="http://rakesh.com">rakesh.com</a>" to drop esp packets and changed the ip address of "<a href="http://rakesh.com">rakesh.com</a>" in /etc/hosts while live connection.<br>
when i ping "rakesh.bansod" it tries to recoonect to "<a href="http://rakesh.com">rakesh.com</a>" because of dpdaction=restart.<br>
but problem is that it didn't knew that the ip is changed and still tries with the same ip.<br>
also i tried ipsec update, but it didn't worked.<br>
what should i do if i now the dns of other party which keeps on changing its ip address then how to make connection in such case.<br>
please help.<br>
<br>
thank you.<o:p></o:p></p>
</div>
</div>
</body>
</html>