How to Block Porn on iPhone 11 Using DNS?

Hi friends…

I’m looking for a way to block porn on my iPhone 11. I’ve heard that it’s possible to use a DNS address for this purpose. Can someone please explain step by step how to set this up? Any help would be greatly appreciated. Thanks in advance!