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

    DNS Resolver / Forwarder

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 3 Posters 877 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.
    • L
      linnet
      last edited by

      Sorry if this seems like a stupid question. If you enter DNS servers under general setup, and in the DHCP server settings. Does DNS resolver or forwarder still need to be enabled?

      Thanks, Linnet

      johnpozJ S 2 Replies Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @linnet
        last edited by johnpoz

        @linnet if you don't want anything using unbound or forwarder or unbound in forwarder mode - ie asking pfsense to do dns for it, even itself - then no you do not need to run either.

        Your not going to be able to resolve any local resources - unless your pointing to some other dns on your network?

        If your not running unbound on pfsense then you wouldn't be able to use pfblocker, etc.

        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

        L 1 Reply Last reply Reply Quote 1
        • L
          linnet @johnpoz
          last edited by

          @johnpoz Thanks for the response! I have no other DNS server running. My thoughts were that the DNS servers I defined would just be forwarded to the clients. Not sure if this is the way to go about it...

          johnpozJ 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @linnet
            last edited by SteveITS

            @linnet The General Setup settings are for pfSense itself, or if DNS Forwarder is used.

            edit: didn't mean to save. doc link: https://docs.netgate.com/pfsense/en/latest/config/general.html#dns-server-settings
            and
            https://docs.netgate.com/pfsense/en/latest/config/general.html#dns-resolution-behavior

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

            L 1 Reply Last reply Reply Quote 1
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @linnet
              last edited by johnpoz

              @linnet said in DNS Resolver / Forwarder:

              Not sure if this is the way to go about it...

              Not the way I would do it - but you do you.. Why would you not just want pfsense to cache what it looks up.. If you have client A on your network wanting to go to say www.google.com - client B would have to query where you have them set to go, same with client C, D etc..

              So every single client on your network would have to query say 1.1.1.1 for everything, and they would have only their local cache - you do not share cache for all your clients, etc.

              Without running your own local dns - you can not resolve anything locally other then via mdns or broadcast, etc.

              You not doing any sort of filtering via dns.. Other than specifically at the client, etc..

              But sure you can let your clients use whatever dns you want, same with pfsense.. You don't need to run dns on your network.. Its just common to do so, etc.

              Now a days your browsers mostly doing doh anyway.. Unless you specifically tell it not too - so yeah you don't have to run local dns if you don't have want or need for it.

              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

              L 1 Reply Last reply Reply Quote 1
              • L
                linnet @SteveITS
                last edited by

                @steveits Thanks, I'll be sure to read those!

                1 Reply Last reply Reply Quote 0
                • L
                  linnet @johnpoz
                  last edited by

                  @johnpoz Thanks for the information. I'll use resolver, I mostly get what you're getting at. I'll have to do more studying on networking perhaps to understand some of these things better. The help is appreciated!

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