Another interesting way subdomains leak is through TLS cert registration. I.e. you can plug a domain into this search [0] and find subdomains that have public TLS certs.
I just noticed a full blog post on this topic is also on the front of HN right now. [1]
[0] https://transparencyreport.google.com/https/certificates?hl=...
[1] https://shkspr.mobi/blog/2022/01/should-you-use-lets-encrypt...