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

    HEADS UP: Be aware of Trusted Recursive Resolver (TRR) in Firefox

    Scheduled Pinned Locked Moved DHCP and DNS
    85 Posts 19 Posters 49.0k 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.
    • chpalmerC
      chpalmer
      last edited by

      @johnpoz said in HEADS UP: Be aware of Trusted Recursive Resolver (TRR) in Firefox:

      network.trr.mode

      Default seems to be 0 for everyone I know.. Is 5 better?

      Triggering snowflakes one by one..
      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        0 may turn into 2 based on what Mozilla wants to do, since 0=default, 5=explicitly disabled.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • chpalmerC
          chpalmer
          last edited by

          Thanks 5 it is!

          Triggering snowflakes one by one..
          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

          1 Reply Last reply Reply Quote 0
          • yon 0Y
            yon 0
            last edited by

            @chpalmer said in HEADS UP: Be aware of Trusted Recursive Resolver (TRR) in Firefox:

            默认似乎都是0 .. 5更好吗?

            i am using u simpledns server :)

            my ISP blocked the Cloudflare , so i want to have to change to close

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

              Huh?? yon your post is gibberish.. what server you want to use has zero to do with what TRR is..

              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.8, 24.11

              yon 0Y 1 Reply Last reply Reply Quote 0
              • yon 0Y
                yon 0 @johnpoz
                last edited by

                @johnpoz
                I mean, I can only use my own DNS or VPN.If a website is blocked, TRR may not solve this problem.

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

                  TRR is more problems than anything ti could possible solve.. Especially if they turn it on without explicit users acknowledgment.. Problem is even the user agrees to some pop up, vast majority of them not even going to understand what they are agree too.. Typical users - and then wondering why their local resolving of xyz.com broke.

                  This should require users actually having to do something to enable it, like edit about:config entry and on purpose turn it on.

                  And you sure and hell could use cloudflare through your vpn... So you still could use trr if you wanted to, even if your isp blocks where its going. I still don't why anyone would want to use this.. Sorry I don't want to send all my dns queries to 1 provider.. I don't want to use you for dns - I will do it myself thank you very much.

                  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.8, 24.11

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

                    Got question about ios version of firefox.. How can you ensure this is never used? about:config is not available in ios version of firefox.

                    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.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      That's a tough one to answer.

                      I did see a post on Reddit earlier this week from someone who claimed association with Mozilla that said they no longer plan on ever making this the default, only available as a GUI option. I'm not holding my breath waiting on that to be verified, but it is at least a bit of hope that we won't have to jump through hoops.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

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

                        Thanks for the info - lets hope they don't try and enable this on the sly in the background ;) Doing such a thing for sure would force me to rethink my browser choice..

                        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.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • B
                          bcruze
                          last edited by

                          this is why i use firefox ESR.

                          the version that would get this automagically would be the standard version of FF

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

                            So it looks like mozilla is on course for enabling this by default... UGGHHH!
                            https://blog.mozilla.org/futurereleases/2019/09/06/whats-next-in-making-dns-over-https-the-default/

                            And upon checking seems somehow somewhere in some past update my setting of network.trr.mode to 5 got reset to 0..

                            I am really curious once they start turning this on, if turning it off in the options will be enough.. I do not want this, stay away from my dns.. They should use what the OS uses, if you want to offer doh or dot - great, it should be OPT IN ONLY!!! Turning this on be default is BS plain and simple..

                            Seems they are using the canary domain use-application-dns.net so if your dns resolves NX their doh should not be used.

                            you can set that in unbound like this
                            local-zone: "use-application-dns.net" static

                            Which I have already done on my network.

                            I believe you can also set
                            security.enterprise_roots.enabled

                            To true, to stop it...

                            I will be keeping an eye on this.. Stay away from my dns mozilla...

                            Looks like pihole already has commit to disable it via the canary.. I would hope pfblocker will be doing something similar
                            https://github.com/pi-hole/pi-hole/pull/2915

                            I think I will reach out to bbcan177 and ask..

                            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.8, 24.11

                            chpalmerC 1 Reply Last reply Reply Quote 1
                            • chpalmerC
                              chpalmer @johnpoz
                              last edited by chpalmer

                              @johnpoz said in HEADS UP: Be aware of Trusted Recursive Resolver (TRR) in Firefox:

                              And upon checking seems somehow somewhere in some past update my setting of network.trr.mode to 5 got reset to 0..

                              Just checked and so did mine. Back to Waterfox for me..

                              Triggering snowflakes one by one..
                              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                              1 Reply Last reply Reply Quote 0
                              • kiokomanK
                                kiokoman LAYER 8
                                last edited by

                                good, time to uninstall and change to another browser

                                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                Please do not use chat/PM to ask for help
                                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                1 Reply Last reply Reply Quote 0
                                • PippinP
                                  Pippin
                                  last edited by

                                  I'm on latest FF (Linux Mint 18.3), my setting 5 did not get changed.

                                  I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                                  Halton Arp

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tman222
                                    last edited by

                                    I have a few Linux systems that use the ESR version of Firefox (60.x). On those systems the default setting is 0 and setting it to 5 appears to break DNS altogether. So I'm guessing 5 is not a supported option on the ESR version. Checking out a more recent version of Firefox on a couple Mac's did allow me to set the option to 5 and everything still works.

                                    Some more info about disabling DoH from Mozilla:

                                    https://support.mozilla.org/en-US/kb/configuring-networks-disable-dns-over-https

                                    Glad that Pi-hole is already had a PR on this.

                                    @johnpoz - can you explain what "local-zone: "use-application-dns.net" static" does exactly and how in NXDOMAIN being returned? Thanks in advance.

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

                                      So per their disable article you linked to, if that domain returns a NX vs actual IP then firefox is not suppose to use doh..

                                      So if you set that in your options box.
                                      server:
                                      local-zone: "use-application-dns.net" static

                                      When a query is done for that - it will return NX.

                                      $ dig @192.168.9.253 use-application-dns.net
                                      
                                      ; <<>> DiG 9.14.4 <<>> @192.168.9.253 use-application-dns.net
                                      ; (1 server found)
                                      ;; global options: +cmd
                                      ;; Got answer:
                                      ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23041
                                      ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
                                      
                                      ;; OPT PSEUDOSECTION:
                                      ; EDNS: version: 0, flags:; udp: 4096
                                      ;; QUESTION SECTION:
                                      ;use-application-dns.net.       IN      A
                                      
                                      ;; Query time: 0 msec
                                      ;; SERVER: 192.168.9.253#53(192.168.9.253)
                                      ;; WHEN: Sun Sep 08 14:22:35 Central Daylight Time 2019
                                      ;; MSG SIZE  rcvd: 52
                                      

                                      Notice the
                                      status: NXDOMAIN

                                      I have sent a PM to bbcan177, but haven't heard anything back yet... But yeah would be nice if pfsense works out something - say if pfblocker is being used, unbound will auto return the NX for that, or something..

                                      Or maybe pfsense could put in a check box to have that return NX..

                                      I really don't now what Mozilla is thinking here.. That is great you want to offer this for your clients - but it really should be OPT IN ONLY!!! Run a PR campaign to get your users to set it.. but making it default is WRONG..

                                      I have set the network.trr to 5 again, will keep an eye on that, and have set
                                      security.enterprise_roots.enabled
                                      To true as well.. so will be watching that as well, when the next update comes out.. Running 69.0 currently of firefox.

                                      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.8, 24.11

                                      T 1 Reply Last reply Reply Quote 1
                                      • T
                                        tman222 @johnpoz
                                        last edited by

                                        @johnpoz said in HEADS UP: Be aware of Trusted Recursive Resolver (TRR) in Firefox:

                                        local-zone: "use-application-dns.net" static

                                        Thanks @johnpoz - I appreciate the follow up an explanation. I was actually more curious what that configuration line did exactly and why you chose it specifically to solve this issue?

                                        Is the idea just to create a local DNS Zone with this domain, but since no actual (local) records exist for it, it will simple return NXDOMAIN?

                                        Thanks again!

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

                                          Exactly, when you set the local zone as static, and no local entries - NX gets returned. So when NX gets returned when the browser looks for that, it is suppose to not enable DOH because local filtering is in place and the user has opted to use that vs doh.

                                          edit: I can foresee future posts about why pfblocker is not working because browser is using doh vs asking the local dns which is using pfblocker.

                                          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.8, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tman222
                                            last edited by

                                            Thanks @johnpoz - when entering into Unbound's option box, for multiple configuration options, is the correct syntax:

                                            server:
                                            config line 1
                                            config line 2

                                            OR

                                            server:
                                            config line 1

                                            server:
                                            config line 2

                                            Apologies, I can never quite remember. Thanks again for your help.

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