This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
How is that even legal?
It is legal just only because they can restrict the access to any of the services they want, in fact they don’t oblige you to use their DNS…
How would it be illegal? It’s their service, they can set whatever rules they want on it. If you don’t like it, pick another DNS provider.