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

    DNS configuration on pfSense

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 1.1k 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.
    • C
      cogumel0
      last edited by

      I have pfSense as my router with 1 WAN and several LANs.

      One of those LANs holds my DNS servers. I would like all clients across all LANs to use these DNS servers. What is the best way of achieving this bearing in mind pfSense acts as my DHCP server?

      I can think of the following two:

      1- Set DHCP to use pfSense as DNS server, set the pfSense DNS servers to my DNS servers and enable DNS forwarder

      2- Set DHCP to use my DNS servers directly and open the firewall ports for incoming requests from all LANs to my DNS servers on port 53 UDP.

      Which would be the best way of achieving this? Is there a better way other than the ones mentioned above?

      EDIT: Suppose there is another option: set pfSense's DNS servers to my own and under System > General, disable DNS Forwarder and open up the firewall.

      1 Reply Last reply Reply Quote 0
      • H
        Heli0s
        last edited by

        To reduce the complexity of your network setup, I would just add your current DNS servers to the DHCP options so that pfSense will hand out DHCP leases with those DNS servers. On the other hand, since your already have pfSense, why not remove those DNS servers and simply have pfSense act as the DNS server?

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