If you are concerned about your family members like childs coming across any unwanted website unexpectdly while browsing, its always better to follow certain methods to block such kind of websites in advance.
One way of blocking this kind of websites is to use some browser plugins etc but these methods are not full proof and if you clear the browser cache the blocking will go away. The method to block all such websites is to use OpenDNS nameservers settings as DNS in your router. To do this login to your router IP,
Type something like “192.168.0.1” or “192.168.1.1” in your browser which are most commonly used router IPs in home network, and login using username and password.
Now, find the DNS settings for your router, this may vary from router model / manufactuer. Below is the image we have shown from the TPLink dashboard.
Go to settings -> DHCP and set “Primary DNS” as 18.104.22.168 and secondary DNS as 22.214.171.124 . Once this is saved and updated, reboot your router once.
For more information about OpenDNS, visit website https://www.opendns.com/home-internet-security/