title: How do I flush DNS entries in my VPC in AWS?
body: <p>I recently added VPC Endpoints to my CloudFormation stack. I then deleted my stack and tried to recreate it.</p>
  
  <p>When I tried to recreate it, I got the following error:</p>
  
  <pre><code>private-dns-enabled cannot be set because there is already a conflicting DNS domain for secretsmanager.us-east-2.amazonaws.com in the VPC vpc-63170e0b (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameter; Request ID: b7d28d81-c2c0-4f44-9642-f22171cf513d)
  </code></pre>
  
  <p>I suspect the error is here because the VPC's private DNS still has an entry from the last time the stack was created.</p>
  
  <p>Is there a way to manually remove entries from the private DNS of the VPC?</p>