title: verify cname record
body: <p>If I have the following CNAME records set up:</p>
  
  <pre><code>www.custom1.com     CNAME   www.myapp.com
  www.myapp.com       CNAME   myapp.cloudapp.net
  </code></pre>
  
  <p>Will <code>Dns.GetHostEntry("www.custom1.com")</code> always return a HostName of myapp.cloudapp.net.</p>
  
  <p>Essentially I'm allowing customers to use their own custom domains for an application hosted in Azure and would rather ask them to set up a CNAME record to my domain (e.g. www.myapp.com) than giving out the Azure hostname.</p>
  
  <p>I'm just looking for a way to programatically check that the cname record has been set up correctly.</p>