DNS redirector based on TXT records. More information in our internal wiki.
The worker exposes POST /internal/cache/purge to clear the Worker cache for the default entrypoint.
Configure the shared secret before using it:
npx wrangler secret put PURGE_TOKENThen call the endpoint with the same token in the X-Purge-Token header.