title: Update DNS record in route53 using boto
body: <p>While trying to update a dns record in R53 using boto i get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "testing.py", line 106, in &lt;module&gt;
  updateDns(load_balancer_dns)
  File "testing.py", line 102, in updateDns
  change.commit()
  File "/usr/lib/python2.6/site-packages/boto/route53/record.py", line 149, in commit
  return self.connection.change_rrsets(self.hosted_zone_id, self.to_xml())
  File "/usr/lib/python2.6/site-packages/boto/route53/connection.py", line 320, in change_rrsets
  body)
  boto.route53.exception.DNSServerError: DNSServerError: 505 HTTP Version Not Supported
  </code></pre>
  
  <p>The following is the function i use to update the dns entry: </p>
  
  <pre><code>def updateDns(load_balancer_dns):
      r53 = boto.route53.connection.Route53Connection(aws_access_key_id=&lt;access_key&gt;,aws_secret_access_key=&lt;secret_key&gt;)
      zone_id = r53.get_hosted_zone_by_name(&lt;domain_name&gt;)
      print zone_id
      change = boto.route53.record.ResourceRecordSets(connection=r53,hosted_zone_id=zone_id)
      change.add_change_record("UPSERT", boto.route53.record.Record(name=&lt;name&gt;, type="CNAME", resource_records=load_balancer_dns, ttl=300))
      change.commit()
      print "record changed"
      return None
  
  updateDns(load_balancer_dns)
  </code></pre>
  
  <p>Anyone else ran into such issues earlier ?</p>