Flushing local DNS cache



I have been using cloudflared for DoH on macOS since the release of in April and been very pleased.

One question I have is about clearing my local DNS cache. Previously I was able to flush my local DNS cache using sudo killall -HUP mDNSResponder.

I noticed that on receiving HUP that cloudflared looks like it restarts, but that leaves me with two questions please:

  1. On receipt of HUP does cloudflared clear it’s local cache?
  2. Maybe more relevant, does cloudflared have it’s own local DNS cache?

Thanks in advance,