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

    How to configure pfsense as DNS server for 2nd LAN connection

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 2 Posters 561 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.
    • S
      sunnyg
      last edited by

      Hello Experts,

      I am hoping someone can help me out with a configuration that I am trying to setup.

      I have PfSense installed and cofigured, and works perfectly, with the current setup:

      Networks has Windows DC running, and is handing out IP addresses on the 10.100.0.0/24 subnet, also acts as the DHCP server for the network, and
      assigns my PfSense server as the gateway.

      • DNS Resolver is enabled

      I am now trying to setup a private network (for some testing), for this I have performed the following in PfSense:

      • Enbled and created as 2nd LAN connection (Private)
      • DHCP enabled in PfSense sense for Private

      I wanted to setup pfSense to be the DNS server for the private, network, but I can't seem to be able to figure out how to do this any assist would be
      much appricated.

      regards
      SunnyG

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD
        DaddyGo @sunnyg
        last edited by DaddyGo

        @sunnyg

        Hi,

        do you mean:

        569c826c-ff18-4005-b3ac-d5a97d82bb98-image.png

        a43efb41-8da1-4f3e-8e50-c465b7b8e07a-image.png

        and
        point to pfSense with DHCP

        0afe9c74-36ed-4092-bb73-892a6838177b-image.png

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        S 1 Reply Last reply Reply Quote 0
        • S
          sunnyg @DaddyGo
          last edited by

          @DaddyGo Here are the settings that I am using:

          Private network nic:
          private_interface.jpg

          DHCP Server settings for Private connection:
          DHCP_SERVER.jpg

          DNS Resolver settings:
          DNS_Resolver.jpg

          Ping test on test system failing
          failed_ping.jpg

          The client system gets a IPv4 address, DNS settings, and Gateway information, but the connection shows no internet (not worried about that), but the name resolution fails, although I can ping the system.

          DaddyGoD 1 Reply Last reply Reply Quote 0
          • DaddyGoD
            DaddyGo @sunnyg
            last edited by

            @sunnyg

            Hi,

            How big is this "PRIVATE" network?
            is it worth configuring a 10.xx ..... network with 255.255.252.0?

            I show the correct DNS settings (in my example with CF servers, DNSSEC, DoT 853)

            Resolver:
            26136b13-b602-4528-9f99-e2b39b0aebaf-image.png

            26956675-a548-44d5-bcd0-16575ff4d46c-image.png

            9b637021-3b63-4fcc-a583-2317e2ecd7c6-image.png

            General Setup:

            cecfb755-9583-4a9a-bc66-d6fc1d08a206-image.png

            Cats bury it so they can't see it!
            (You know what I mean if you have a cat)

            S 1 Reply Last reply Reply Quote 0
            • S
              sunnyg @DaddyGo
              last edited by

              @DaddyGo Ok managed to get it working, i had Enable Static ARP entries enabled, which was preventing the DHCP issued systems from being able to communicate with pfsense.

              DaddyGoD 1 Reply Last reply Reply Quote 0
              • DaddyGoD
                DaddyGo @sunnyg
                last edited by

                @sunnyg said in How to configure pfsense as DNS server for 2nd LAN connection:

                Enable Static ARP

                Magic 😉

                Cats bury it so they can't see it!
                (You know what I mean if you have a cat)

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