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

    Unfiltered DNS for specific application?

    Scheduled Pinned Locked Moved pfBlockerNG
    4 Posts 2 Posters 453 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.
    • GPinzoneG
      GPinzone
      last edited by

      Is there any way to get unfiltered DNS for just the web browser? I can do this in Firefox by using DNS over HTTPS to a DNS like Cloudflare. However, I'd rather use my local unfiltered DNS.

      In case you're asking why I do this, it's because I use uBlock Origin and would like to have fine-grained control over which sites get filtered.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @GPinzone
        last edited by

        @gpinzone

        That's one of the reasons why pfBlockerng-devel was develloped :
        Use the Python mode.
        And then :
        8ab9d47c-95a1-4ba0-8e3f-74d89ef398e9-image.png

        Now, 192.168.1.2 ( and it's IPv6 ) will now bypass the DNSBL of pfBlockerng-devel.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        GPinzoneG 1 Reply Last reply Reply Quote 0
        • GPinzoneG
          GPinzone @Gertjan
          last edited by

          @gertjan That will work to whitelist the IP address, not just the browser.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @GPinzone
            last edited by

            @gpinzone

            ?
            Have a look at a DNS packet unbound receives on the pfSense LAN port. Yep, that will be an Ethernet packet. As filter criteria, set up port 53, and use the IP of your device.
            As soon as you have one, inspect it. This is technology of the years 60 and 70, last century, so quiet simple.

            You will find out quickly there is a source IP, destination IP, source port, destination port, and a 'word' with 16 or so bits that tells what kind of packet it is (like UDP - the packet number etc) and a time stamp.
            There is no information that tells unbound "what program" made or send this packet ***
            So, unbound on pfSense can not know that the packet creating program was a 'browser' (or a mail client, or command line tool, or a file server, or a mail server, or whatever program) that wants to communication over the Internet.

            With some very nifty comparing you could speculate what OS made the packet. Programs exist to do this kind of detecting. Unbound can't do that.

            What you can do : tell your browser to do its own DNS, so addresses itself direcly to, for example, 8.8.8.8 or a "canary" solution.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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