Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Possible to Block Facebook with DNS ?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 972 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kjemison1966
      last edited by

      Hello,

      I would like to know if it is possible with the pfsense DNS configuration pages to block facebook for one of my customers?

      I have attempted to do this with setting up an account with opendns, assigning pfsense DNS to poit to opendns DNS, cleared the "tick box" on "Allow DNS server list to be overridden by DHCP/PPP on WAN" and ticked the box on "Do not use the DNS Forwarder as a DNS server for the firewall" and I still cannot block facebook.

      I only need to block this one site for my customer and for right now I feel that installing squid3 and squidguard may be a little over kill for this.

      Any input is greatly appreciated!

      Thank you for your help
      Sincerely,
      Kell

      1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        You can use pfBlockerNG to collect IPs from a service like Hurricane Electric. You will need to use the "html" format to correctly parse this site. Set the download frequency to once per week.

        http://bgp.he.net/search?search%5Bsearch%5D=facebook&commit=Search

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        • K
          kjemison1966
          last edited by

          Thank you for the help!.. Always appreciated very much!

          Got it working now and all is good.

          Thanks again and have a nice weekend!

          Sincerely,
          Kell

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.