How to block http sites, but allow specific hosts

What is the name of the domain?

What is the issue you’re encountering

setup dns rules to block social media sites, but would like to allow specific pc’s

What steps have you taken to resolve the issue?

research

What feature, service or problem is this related to?

DNS records

Hello,

setup dns rules to block social media sites, but would like to allow specific pc’s

You can configure action SKIP to bypass WAF rules

Kindly review this document : Configure a custom rule with the Skip action · Cloudflare Web Application Firewall (WAF) docs

Thank you

Thanks, will it allow me to skip for specific pc’s? Also I guess the manual work around is to do a manual dns entry that won’t rote traffics through cloud fare ?

To create a WAF skip rule for a specific PC with a dynamic IP, you can use mTLS (mutual TLS). Install the client certificate in the browser. Alternatively, as you mentioned, you can edit the local hosts file to point to the origin IP directly. However, this action will bypass all Cloudflare components, including caching.