Sorry if this is a silly question or if I'm asking in the wrong place. But I've been learning about DNS, and there's something that's bugging me about top-level domain (TLD) servers especially the .com one. If I'm understanding right, the .com TLD server has a record of every .com site in existence? I checked Wikipedia, and it says there's about 145 million .com sites registered.
Am I understanding correctly that the .com TLD server (really a server cluster) is absolutely massive to store this many records? Or maybe nowadays, though very large, that's really not unreasonable? I do want to state I understand the TLD server merely points to the authoritative name server so it doesn't contain the entire DNS record of every .com site. But I'm still struggling to wrap my head around this. I know I could be mistaken but this doesn't seem right to have so many records stored at one place, so I'm asking if I'm understanding this correctly. Thanks!