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

    Adding a local DNS to the default DNSs

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 569 Views 3 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.
    • L Offline
      linuxha
      last edited by

      I've had PFSense CE running a new server for a week and just brought it up today. I do have a few problems such as FRR ripd not running. And I have no IPv4 DHCP on PFSense. But I do have IPv6 DHCP running on PFSense.

      I have an internal dnsmasq server (IPv4 dhcp & dns) that I need for my local network. I haven't setup IPv6 DNS locally yet. IPv4 DHCP is disabled on PFsense but not IPv6. Where can I add the local dns so that pfsense sends it with the IPv6 DHCP/dns servers?

      Version 2.7.0-DEVELOPMENT (amd64)
      built on Sun Jan 16 06:17:46 UTC 2022
      FreeBSD 12.3-STABLE

      Unable to check for updates
      CPU Type Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz
      Current: 3500 MHz, Max: 3501 MHz
      8 CPUs: 1 package(s) x 4 core(s) x 2 hardware threads
      AES-NI CPU Crypto: Yes (inactive)
      QAT Crypto: No

      stephenw10S JKnottJ 2 Replies Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator @linuxha
        last edited by

        There are fields for adding DNS servers in the DHCPv6 config. If you haven't added anything there it passes the interface IP.

        Steve

        L 1 Reply Last reply Reply Quote 1
        • JKnottJ Offline
          JKnott @linuxha
          last edited by

          @linuxha

          Are you sure you want to use DHCPv6? SLAAC is normally used to provide IPv6 addresses and Android devices won't work with DHCPv6. Also, the DNS server address is usually provided by RDNSS, which is part of the Router Advertisements.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          L 1 Reply Last reply Reply Quote 1
          • L Offline
            linuxha @stephenw10
            last edited by

            @stephenw10 Thanks I'll take a look at that.

            1 Reply Last reply Reply Quote 0
            • L Offline
              linuxha @JKnott
              last edited by

              @jknott at the moment I've just enabled IPv6 and I haven't gone any further (with IPv6). I'm still trying to get used to pfsense and being able to use IPv6. My last router had a very broken IPv6.

              Do you have any pointers on trying to figure out IPv6. I know some about IPv6 but there's a lot more to know.

              Thanks

              JKnottJ 1 Reply Last reply Reply Quote 0
              • JKnottJ Offline
                JKnott @linuxha
                last edited by

                @linuxha

                Yes, I have a lot of experience with IPv6. As I mentioned, you should use SLAAC, unless you have some need for DHCPv6. With SLAAC, the router advertises the LAN prefix and the device adds the rest of the address, often based on the MAC address. This requires no configuration on the device. Also, RDNSS is provided in a router advertisement, though it must be enabled. Start with this and see how it goes. I'll help with whatever I can.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

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