title: Update DNS from Java (Similar to DUC NO - IP).  [Was: Actualizar DNS desde Java (Similar a DUC No-Ip)]
body: <p>Days ago I try to make an application similar to No-IP DUC (Dynamic DNS Update Clients) in java but I have presented a problem and not how to fix ...
  Now I can retrieve the domains I have registered with the following line of code:</p>
  
  <pre><code>URLConnection conexion = new URL( "http://dynupdate.no-ip.com/list-hosts.php?email="+USER+"&amp;pass="+PASSWORD ).openConnection();
  </code></pre>
  
  <p>but when I update with the following URL you recommend on page <a href="http://www.no-ip.com/integrate/request" rel="nofollow">http://www.no-ip.com/integrate/request</a>, I get an exception ...</p>
  
  <pre><code>URLConnection conexion = new URL( "http://"+USER+":"+PASSWORD+"@dynupdate.no-ip.com/nic/update?hostname="+DOMAIN+"&amp;myip="+IP ).openConnection();
  </code></pre>
  
  <p>The strange thing is that manually copy the URL in the address, the update is done without problem ...
  If anyone can help me I appreciate it a lot ...</p>