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

    DNS question

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 559 Views 4 Watching
    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.
    • F Offline
      furom
      last edited by

      Hi,

      I have set DNS 1.1.1.2 / 1.0.0.2 in System/General Setup. I was under the impression that these were to be given to DHCP clients if no additional DNS were specified in the DHCP Server for a particular vlan, and DNS Resolver was activated? This did not work for me, there may of course be some very valid reasons for that, but to make things (Netflix) work, I had to specify the DNS's in the DHCP server part as well. Is this how it is supposed to be setup/work in pfSense?

      Wanted scenario is to resolve locally first, if that fails, use upstream (which is the ones in General Setup, right?), except for a few networks that shall be local only (like IoT, NoT). I thought I had that, but perhaps not...

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

        @furom its like we go over this every other day ;)

        Out of the box pfsense is a resolver - what you put in general be it manually or via dhcp from your isp has zero to do with clients asking unbound running on pfsense.

        Unless you enable forwarder mode in unbound, what is in general only would ever be used by pfsense trying to say check for updates, or checking if a IP resolve in your firewall log when you click the little button to resolver it. Or using the diagnostic menu to do a dns lookup.

        Out of the box dhcp server would hand dhcp clients the IP of pfsense on the interface your running the dhcp server.

        Out of the box pfsense should ask itself (unbound) via loopback to resolve what your asking for. If that fails to answer, then pfsense would ask other dns in its general settings. But this would never have anything to do with clients on your network.

        If you do not actually understand what a resolver vs a forwarder is - then yeah this is prob pretty confusing.

        A resolver (default config of unbound) asks roots, and then the gtds ns it gets from roots for the authoritative ns for whatever domain your fqdn is in your looking to resolve. Then specifically asks the NS for that domain for whatever.domain.tld your looking for.

        A forwarder just asks where you forward to do that for you..

        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 25.07 | Lab VMs 2.8, 25.07

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          furom @johnpoz
          last edited by

          @johnpoz 🤐 I do appreciate you explaining this though. I am reading the docs and a lot of other sources to get this setup the way I need and perhaps are confusing myself a bit in the process, but will try harder to sort things.
          Thanks

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @furom
            last edited by

            @furom, I CAN HELP YOU with whatever you need, just tell me we are here to serve you sir.

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