I remember when you could list entire cctlds, how did that work then? They weren’t as big as they are today but definitely bigger than 65k.
dig . axfr @iad.xfr.dns.icann.org
and I received 24,448 records transferred over 83 DNS messages, according to the stats dig prints at the end.[1] https://datatracker.ietf.org/doc/html/rfc5936#section-2.2