# API Interface to Flush a Specific DNS Entry on Boulder

**URL:** <https://community.letsencrypt.org/t/api-interface-to-flush-a-specific-dns-entry-on-boulder/33958>\
**Category:** Feature Requests\
**Created:** [May 13, 2017, 3:51pm UTC](https://community.letsencrypt.org/t/api-interface-to-flush-a-specific-dns-entry-on-boulder/33958 "2017-05-13T15:51:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlhackque](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tlhackque/32/30360_2.png) [@tlhackque](https://community.letsencrypt.org/u/tlhackque)\
**Post date:** [May 13, 2017, 3:51pm UTC](https://community.letsencrypt.org/t/api-interface-to-flush-a-specific-dns-entry-on-boulder/33958/1 "2017-05-13T15:51:29Z")

</div>

I had to fall back to manual registration due to some issues with certbot & my config.

I’m in the process of changing IPV6 from one tunnel service to another, and also had to update my AAAA records. And add [letsencrypt.org](http://letsencrypt.org) to CAA

It seems that the LE servers have cached the old AAAA records - which have a 24Hr ttl.

Is there a way to tell the LE DNS servers to flush their cache for a specific host?

If not, it would be helpful to have one. Or at least configure then with a sensible max\_ttl - since I must not be the first with these kinds of issues…Sensible means “for debugging getting a certificate”, and probably is no longer than 10 mins or so. There’s not much point in respecting long TTLs for LE, since most traffic is at most twice a day for a given hostname…

Yes, I know I can “just wait”…

---

<div class="post-metadata">

**Author:** ![ahaw021](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/ahaw021/32/14882_2.png) [@ahaw021](https://community.letsencrypt.org/u/ahaw021)\
**Post date:** [May 14, 2017, 12:39am UTC](https://community.letsencrypt.org/t/api-interface-to-flush-a-specific-dns-entry-on-boulder/33958/2 "2017-05-14T00:39:10Z")

</div>

hi @tlhackque

configure then with a sensible max\_ttl

I am pretty sure most DNS servers follow what the Name servers of the domain have as TTL. So why not set a reasonable TTL on your end?

I have changed your request to to a Feature Request. The ACME protocol doesn’t specify functioning of the DNS Resolvers so having an API call for the server to clear a given domains DNS cached could be very difficult (for example how do you know the person requesting the clearance owns the domain)

If you ever need to do this again (swap providers) the first thing you should do is move the TTL for all your records down to 1 hour a couple of days before hand and then move them back post migration.

Andrei

---

<div class="post-metadata">

**Author:** ![mnordhoff](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mnordhoff/32/22583_2.png) [@mnordhoff](https://community.letsencrypt.org/u/mnordhoff)\
**Post date:** [May 14, 2017, 12:45am UTC](https://community.letsencrypt.org/t/api-interface-to-flush-a-specific-dns-entry-on-boulder/33958/3 "2017-05-14T00:45:53Z")

</div>

The Let’s Encrypt DNS resolvers have a _very_ low maximum TTL. Something like 60 seconds, if that. Cached DNS records should virtually never be a problem.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [June 13, 2017, 12:50am UTC](https://community.letsencrypt.org/t/api-interface-to-flush-a-specific-dns-entry-on-boulder/33958/4 "2017-06-13T00:50:37Z")

</div>

Closed on June 13, 2017, 12:50am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
