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

    Forward all DNS queries from pfSense to another DNS server

    DHCP and DNS
    3
    4
    5.7k
    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.
    • R
      riahc3 Banned
      last edited by

      I want to foward all DNS queries from pfSense to another DNS server. Im not sure which to choose DNS Forward (looks more logical but I dont see a IP input text) or DNS Resolver.

      1 Reply Last reply Reply Quote 0
      • MikeV7896M
        MikeV7896
        last edited by

        DNS Resolver (Unbound) has a forwarding option as well, so you could use either as a forwarder. Just make sure to check that option if you choose to use the DNS Resolver for forwarding.

        As far as where requests get forwarded to… they will be forwarded to whatever DNS servers you have configured in the System > General settings. If you don't have any set there, they will be forwarded to whatever DNS servers your ISP provides via DHCP (assuming your ISP provides your WAN address via DHCP).

        The S in IOT stands for Security

        1 Reply Last reply Reply Quote 0
        • R
          riahc3 Banned
          last edited by

          Which of the two is recommended to use?

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

            either or.. They both do the same thing..  Unbound is the newer addition to pfsense, at some point dnsmasq might be removed but I doubt it and would be multiple releases down the road if ever.

            I would suggest you use the "forwarder" dnsmasq just for the fact its actually called that in the menus and has no option to be resolver.  Unbound has way more configuration options and more likely for user to mess up or not actually have forwarder mode enabled.

            Also unbound forwarder I do not believe forwards to all in the list like dnsmasq does unless you enable seq mode.

            Go with dnsmasq forwarder..

            Curious why not use unbound as resolver. This  way your sure you get answer direct from horses mouth and has support for dnssec, 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.7.2, 24.11

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