DNS is used by others to find your site. As you’ve found Discourse wouldn’t be caching it. DNS is like mail, routing or firewall config where many devs and/or admins aren’t fully aware of how exactly it works. They can be as complex as developing an app but in different ways.
The primer from Dyn is a good place to start.
https://dyn.com/blog/how-does-dns-work/