Depending on your domain, the registrar might not be legally allowed to hide this information. Make sure to know the rules of the TLD you use, as well as the registrar.
Usually the information has to be public is the registering entity is a company, and can be private (and I think it's by default) if it's by an individual. It shouldn't be possible to have private company registrations. This of course depends on the TLD, but might have implications on some jurisdictions independent of that (like when using a site of any TLD inside the EU).
Bout ten years ago I pissed off some GNAA idiot trolls on twitter, so they did a whois on my domain. I never updated it from my mom’s address so over the course of a week my mom got three cases of qurans and several large pizza orders (10+ pizzas each time), all of which she declined to accept.
Lucky she didn’t get swatted, though this was before they became such a big thing.
You bet your ass all my domains now have privacy settings enabled.
TIL there's a command for that. You can use third party websites too. Most scummier domains are registered through third party providers though, which then share just that companies details to hide the actual owners.