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

    IPv6 / track interface / pass DNS server to client

    Scheduled Pinned Locked Moved IPv6
    24 Posts 4 Posters 3.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.
    • Bob.DigB
      Bob.Dig LAYER 8 @JKnott
      last edited by Bob.Dig

      @JKnott As you know, I am no expert or even close. But I saw it myself (technically not, but someone explained to me via teamspeak, what he saw and I believe him) with the german consumer-router fritzbox, that with every IPv6 change the firewall rules changed automatically and I guess that almost all consumer router with a IPv6 firewall will do it like that. pfSense can't do that right now, although it could theoretically, because unbound knows the new IP-address/prefix (at least a nslookup on pfSense gives a correct result), but the alias-tables don't get updated correctly. And I think with real host agnostic there would be even more possible. Also DDNS-updates for IPv6-hosts via pfSense would be much appreciated.

      @jpgpi250
      A proof for you. In my example the DNS-Server is pfSense.

      Capture.JPG

      jpgpi250J Bob.DigB 2 Replies Last reply Reply Quote 0
      • jpgpi250J
        jpgpi250 @Bob.Dig
        last edited by

        @Bob-Dig In your 4th (last) screenshot, you have a checkbox 'provide DNS servers to DHCPv6 clients' I don't have that checkbox (or don't know how to enable the option)

        Bob.DigB 1 Reply Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8 @jpgpi250
          last edited by Bob.Dig

          @jpgpi250 There and also in the RA Options there is a box to tick.

          Screenshot_2020-02-15 pfSense localdomain - Services DHCPv6 Server RA PRIVAT Router Advertisements.png

          I am on 2.5 but I think it was there before... had to do nothing for it to be there.

          jpgpi250J 2 Replies Last reply Reply Quote 0
          • jpgpi250J
            jpgpi250 @Bob.Dig
            last edited by

            @Bob-Dig 2.4.4-RELEASE-p3 (amd64), web interface says I'm on the latest version. NO CHECKBOX

            1 Reply Last reply Reply Quote 0
            • jpgpi250J
              jpgpi250 @Bob.Dig
              last edited by jpgpi250

              @Bob-Dig got it (there are no checkboxes, but it appears to almost work), had to set router mode to the same value as in your screenshot.

              <edit>
              had to change the router mode to 'router only - RA flags[none], Prefix flags [router]', to avoid getting both the DHCPv6 configured DNS server(s) and the DNS servers, defined in general settings.
              </edit>

              Thanks for your time and effort, you've helped me a lot...

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @jpgpi250
                last edited by Bob.Dig

                @jpgpi250 Maybe don't left a field blank? I didn't tried changing the DNS myself.
                Saw your edit, if I helped, a thumbs up would be appreciated. ๐Ÿ˜‰

                jpgpi250J 1 Reply Last reply Reply Quote 0
                • jpgpi250J
                  jpgpi250 @Bob.Dig
                  last edited by

                  @Bob-Dig looks good, thank you, one last thing

                  could you explain your choice range ::2000 to ::2010
                  my devices on that specific interface are on a IPv4 subnet with max 64 hosts (192.168.2.192/26)
                  My knowledge of IPv6 is NOT very high, I'm sorry to have to ask.

                  Bob.DigB 1 Reply Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @jpgpi250
                    last edited by Bob.Dig

                    @jpgpi250 My knowledge is even less than yours, it just worked for me.

                    1 Reply Last reply Reply Quote 0
                    • Bob.DigB
                      Bob.Dig LAYER 8 @JKnott
                      last edited by Bob.Dig

                      @JKnott said in IPv6 / track interface / pass DNS server to client:

                      PfSense is also providing the DNS addresses as appropriate, but the devices, such as Android are breaking this.

                      Offtopic, today I found out, that Android 10 is using "Privat DNS" (by google) by default. I got some bad result as I was testing with FF on my phone but on another PC it was as expected. Android is even showing the correct DNS-servers but is not using them if Privat DNS is not disabled.

                      Capture.JPG

                      JKnottJ jpgpi250J 2 Replies Last reply Reply Quote 0
                      • JKnottJ
                        JKnott @Bob.Dig
                        last edited by

                        @Bob-Dig

                        I also wasn't aware of that Private DNS. I'll have to look into it. I don't like it when companies interfere and don't tell.

                        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 1
                        • jpgpi250J
                          jpgpi250 @Bob.Dig
                          last edited by

                          @Bob-Dig personally, I've setup some IPv4 NAT rules to redirect all DNS traffic, not originating from my local DNS solution, that should overcome the andoid 10 problem, when using IPv4. Unfortunately, pfsense doesn't have IPv6 NAT, so as soon you enable (allow) IPv6 in your network, simply using IPv6 DNS servers bypasses everything. You mentioned you re on pfsense 2.5. Does it have IPv6 NAT (OPNsense does, according to the forum posts)? Is 2.5 already released, If yes, do I need to do something on the pfsense to switch versions?

                          Bob.DigB 1 Reply Last reply Reply Quote 0
                          • Bob.DigB
                            Bob.Dig LAYER 8 @jpgpi250
                            last edited by Bob.Dig

                            @jpgpi250 I don't think that a NAT Rule will help you, it is probably similar to what Mozilla did with cloudflare, it is not using the DNS-Ports, although I don't know for sure.

                            2.5 is not released and I don't think it has IPv6 NAT.

                            jpgpi250J 1 Reply Last reply Reply Quote 0
                            • jpgpi250J
                              jpgpi250 @Bob.Dig
                              last edited by

                              @Bob-Dig The mozilla DOH feature can be easily disabled with a single dnsmasq (pihole = dnsmasq + extra features) setting: server=/use-application-dns.net/

                              If pfsense has no intention to support IPv6 NAT, the business case to move to OPNsense just became more solid.

                              1 Reply Last reply Reply Quote 0
                              • Bob.DigB
                                Bob.Dig LAYER 8 @Bob.Dig
                                last edited by Bob.Dig

                                @Bob-Dig said in IPv6 / track interface / pass DNS server to client:

                                @JKnott As you know, I am no expert or even close. But I saw it myself (technically not, but someone explained to me via teamspeak, what he saw and I believe him) with the german consumer-router fritzbox, that with every IPv6 change the firewall rules changed automatically and I guess that almost all consumer router with a IPv6 firewall will do it like that. pfSense can't do that right now, although it could theoretically, because unbound knows the new IP-address/prefix (at least a nslookup on pfSense gives a correct result), but the alias-tables don't get updated correctly. And I think with real host agnostic there would be even more possible.

                                Today I changed my WAN-IPs (v4&v6) and pfSense was able to update the firewall-aliases of my hosts by itself, bravo. ๐Ÿ‘

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pfadmin @Bob.Dig
                                  last edited by

                                  @Bob-Dig said in IPv6 / track interface / pass DNS server to client:

                                  rewall-aliases of my hosts by itself, bravo.

                                  What? What? Really? No joke?

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