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

    DNS Forwarder & DNS Resolver

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 5 Posters 777 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.
    • H
      HSol
      last edited by

      Dear All

      Can you please clarify the Difference between DNS Forwarder & DNS Resolver in forwarding mode

      thanks

      1 Reply Last reply Reply Quote 0
      • R
        Ragen
        last edited by

        @HSol:

        Dear All

        Can you please clarify the Difference between DNS Forwarder & DNS Resolver in forwarding mode

        thanks

        There is no functioning difference. Both forward the request to the upstream DNS server(s) setup.

        1 Reply Last reply Reply Quote 0
        • M
          motific
          last edited by

          The Forwarder uses DNSMASQ whereas the Resolver uses Unbound.

          IIRC dnsmasq sends dns requests upstream to a server (your ISP or one you specify like Quad9) and caches the results.  Unbound queries the root dns servers directly by default, it’s also what you need if you are using dns blocking in the pfBlockerNG package.

          1 Reply Last reply Reply Quote 0
          • G
            gsmornot
            last edited by

            @motific:

            The Forwarder uses DNSMASQ whereas the Resolver uses Unbound.

            IIRC dnsmasq sends dns requests upstream to a server (your ISP or one you specify like Quad9) and caches the results.  Unbound queries the root dns servers directly by default, it’s also what you need if you are using dns blocking in the pfBlockerNG package.

            But only if your not using it in forwarding mode. pfBlockerng works but in forwarding mode you’re not using roots.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Where did you get the idea that pfblockerng needs to use forwarder mode?

              https://forum.pfsense.org/index.php?topic=128721.msg709743#msg709743

              Straight from bbcan177
              You can use either the DNS Resolver Forwarding mode or the DNS Resolver mode.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

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