title: How to Query Route53 hosted zone to check for an existing record set?
body: <p>I am new to amazon Route53. As of now, I am able to create a hosted zone and a resource record set in my amazon account. But now I want to search whether a record set <strong>already exists</strong> in my hosted zone. For Example </p>
  
  <p><code>Hosted zone "abc.com"</code> and it has two-record set in it.</p>
  
  <ol>
  <li><code>A.abc.com</code></li>
  <li><code>B.abc.com</code></li>
  </ol>
  
  <p>Now I want to query my <code>hosted zone</code> and find out whether <code>A.abc.com</code> <strong>already exists</strong> in the <code>abc.com</code>.</p>
  
  <p>So, is there any API that I can use where I can pass my amazon credentials and my amazon <code>hostedzone</code> and the searched <code>"record set"</code> and then I can get the result back whether that record set already exists. Kindly guide me.</p>
  
  <p>After research, I found out that there is <code>"ListResourceRecordSet"</code> which will give me the list back for a particular zone. But I don't want the list I just want to check whether the entry already exists.</p>