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

    MS activated DoH at the operating system level, in this "great" 20H2 release...?!

    Scheduled Pinned Locked Moved pfBlockerNG
    57 Posts 9 Posters 4.4k 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
      SteveITS Galactic Empire @DaddyGo
      last edited by

      @DaddyGo said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

      it uses a new MS IP (for me new): 13.107.4.52 - instead of this 131.107.255.255
      where does it get DNS from?

      Well that's the one I get:
      dig www.msftconnecttest.com @8.8.4.4

      ; <<>> DiG 9.16.5 <<>> www.msftconnecttest.com
      ;; global options: +cmd
      ;; Got answer:
      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34855
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

      ;; OPT PSEUDOSECTION:
      ; EDNS: version: 0, flags:; udp: 4000
      ;; QUESTION SECTION:
      ;www.msftconnecttest.com. IN A

      ;; ANSWER SECTION:
      www.msftconnecttest.com. 3542 IN CNAME v4ncsi.msedge.net.
      v4ncsi.msedge.net. 18 IN CNAME ncsi.4-c-0003.c-msedge.net.
      ncsi.4-c-0003.c-msedge.net. 10 IN CNAME 4-c-0003.c-msedge.net.
      4-c-0003.c-msedge.net. 56 IN A 13.107.4.52

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • viktor_gV
        viktor_g Netgate
        last edited by

        you can try to use DoH feeds in pfBlockerNG,
        see https://redmine.pfsense.org/issues/10969

        also https://raw.githubusercontent.com/oneoffdallas/dohservers/master/list.txt

        and (all public DNS servers):
        https://public-dns.info/nameservers.txt

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

          @viktor_g said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

          you can try to use DoH feeds in pfBlockerNG,

          thanks for the advice, but we’ve been past that for a long time 😉

          https://forum.netgate.com/topic/157500/blocking-dns-over-https-seems-the-only-way-is-to-fire-a-shotgun-at-it/30
          https://public-dns.info/nameservers.txt
          https://raw.githubusercontent.com/Sekhan/TheGreatWall/master/TheGreatWall_ipv4

          or but it has not been available for some time....
          https://heuristicsecurity.com/dohservers.txt

          UNBOUND Custom:
          server:
          local-zone: "use-application-dns.net" always_nxdomain
          local-zone: "cloudflare-dns.com" static

          +++edit:
          65197508-a09d-4356-9510-bb604279c5ee-image.png

          it is a long-established system, only a certain test PC has this condition, which is win10 20H2

          +++edit:

          yesterday, I downloaded (fresh - crunchy 😉 ) this "image" from our own MS VLSC account...

          true this is an account which is attached to MS Insider program, but the image was not marked as beta

          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
          • DaddyGoD
            DaddyGo @SteveITS
            last edited by DaddyGo

            @teamits said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

            Well that's the one I get:

            Yes, there's the IP 13.107.4.52

            a4c4aeb7-4f80-4bf7-8f3f-58847ce6c29b-image.png

            but, the IP according to the win registry...131.107.255.255

            824fa28d-ffed-4a6e-8379-2b54fb67c9dd-image.png

            2ee784c0-9ec5-40be-a2d4-fcdcef7b0999-image.png

            pfBlockerNG (from Win10 1909 PC):

            25ae80c8-96bd-47d9-8ebe-36ba158f848a-image.png

            on the new PC (20H2), the request does not pass through pfBlockerNG, directly download the connecttest.txt from this IP 13.107.4.52

            +++edit:

            So the situation is changing, when I go back to 1909 and 2004 everything works as expected....
            (everything is the same in the network environment, everything....)

            The pfBlockerNG works great!!!

            who wants to test this "image 20H2" I'd love to upload it somewhere...
            (DropBox, MEGA, etc)

            thoughts,

            -when on an older "win" installation (what you have), you keep moving up with versions 1803, 1909, 2004, etc.
            (the behavior is not the same as a clean installation)

            -I have now done a clean installation with 20H2 from a VLSC image and I'm not a fool and/or beginer, there are trivial problems here...

            in the post I not only presented the MS connect test, there is another domain that behaves this way...
            see this: o.ss2.us

            I haven't tested any more steps....
            (what I know is that I get the same in a VM environment)

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

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

              @DaddyGo

              +++edit:

              So the situation is changing, when I go back to 1909 and 2004 everything works as expected....
              (everything is the same in the network environment, everything....)

              The pfBlockerNG works great!!!

              who wants to test this "image 20H2" I'd love to upload it somewhere...
              (DropBox, MEGA, etc)

              thoughts,

              -when on an older "win" installation (what you have), you keep moving up with versions 1803, 1909, 2004, etc.
              (the behavior is not the same as a clean installation)

              -I have now done a clean installation with 20H2 from a VLSC image and I'm not a fool and/or beginer, there are trivial problems here...

              in the post I not only presented the MS connect test, there is another domain that behaves this way...
              see this: o.ss2.us

              I haven't tested any more steps....
              (what I know is that I get the same in a VM environment**

              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
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                Not saying you haven't found something odd. But I don't agree with your wording. That its at the os level.

                To me - the os level would mean that all dns queries would be using doh. For all you know this is some "app" or service on the OS using doh to check for xyz..

                I am using 20h2, and agree it wasn't clean.. It was from a 2004 clean install. My system would not update to 2004.. Stupid info about your system is not ready - yet no info on exactly what was keeping it from updating.

                So I ended up doing a clean install to 2004, but then it updated to 20h2..

                My 20h2 system is doing normal dns to msftncsi
                dns.png

                I see no queries to ss2.us at all..

                So while you have found something doing doh, I would be hesitant to say the OS dns client is doing it.. It clearly is not doing it for all queries..

                My take on the ss2.us - its something to do with certs.. And is tied to https://www.starfieldtech.com/

                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

                DaddyGoD 2 Replies Last reply Reply Quote 1
                • DaddyGoD
                  DaddyGo @johnpoz
                  last edited by DaddyGo

                  @johnpoz said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                  Not saying you haven't found something odd. But I don't agree with your wording. That its at the os level.

                  Yes sir, but :-)

                  I agree with you in a super way...
                  please try this "image" even on a VM... or other way
                  if you think, I'll upload it for you somewhere...

                  I feel myself completely stupid about that...

                  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
                  • DaddyGoD
                    DaddyGo @johnpoz
                    last edited by DaddyGo

                    @johnpoz said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                    My 20h2 system is doing normal dns to msftncsi

                    --- o.s22.us
                    I'll show you again,
                    this domain is blocked by us..., o.ss2.us via DNSBL feed

                    Win1909:

                    a544381f-e6c3-41c4-ad45-ca2916e30162-image.png

                    test PC on clean 20H2:

                    b66dabdc-9b98-4728-9329-a9cd8ca2a641-image.png

                    network setup:

                    6b09487c-fe40-45fb-a813-4cf2ce3ec3f4-image.png

                    pfSense IP is: 192.168.85.1

                    igen = yes
                    DHCP kiszolgáló = DHCP server

                    (sorry for the hungarian OS language)

                    more over:

                    e58aa2f1-fa26-4a74-b9d3-f87fc3f1fb32-image.png

                    192.168.85.130 on Win1909

                    no entry from 192.168.85.132 on win 20H2

                    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
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      You would prob get better help on some MS forum.. While this I guess could be related to pfblocker.. If said device doesn't ask pfblocker for dns, that is not pfsense or pfblocker that keeps the client from doing that.

                      Why said client doesn't use your assigned dns, would be up to the client.. No matter what you hand it via dhcp.

                      I wouldn't block that mfsft site for sure.. That is a well known domain in how windows check if it has internet, etc. Blocking it could for sure kick in other methods of the OS trying to see if it has any sort of internet connectivity..

                      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

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

                        @johnpoz said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                        You would prob get better help on some MS forum..

                        you're just kidding me now, aren't you? 😉

                        @johnpoz "I wouldn't block that mfsft site for sure.."

                        it's just a matter of taste ☹
                        so as I wrote above we run an external connecttest server, this is not an MS denial...

                        it was just enough of the voyeur or something...
                        not really a pfSense or pfBlockerNG theme (issue), yet ... you are right (let's say it's a simple statement)

                        but it will be....?!

                        I knew that, you will be the first to respond to my post, knowing your DoH hate...
                        (we are rowing in the same boat)

                        do not think that, the future will not come
                        you cannot delay it, by denying it...

                        +++edit:

                        I would willingly to give you this "image 20H2 VLSC" if you think, try it on a VM, you don't have to activate it for a few days and you'll see what the future holds I say kindly 😉

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

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

                          @DaddyGo

                          it would be a much more expedient test, if the leaderboard poster also tried what I am talking about... or anyone else who is willing...

                          @johnpoz don't get me wrong I seriously respect you 👍 ✋

                          one more time...

                          I did not share this to seek for advice, just I reported a fact...
                          (it will affect, everyone in the community)

                          so the defensive behavior is unnecessary in this case...
                          this is not a pfSense theme yet, but it will be...

                          (maybe the Wireshark isn't lying??!!)
                          so I’m not going to comment on that anymore, because the stiff rejection isn’t good...

                          who is brave ask me for a "image 201H2" in PM

                          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
                          • I
                            Impatient
                            last edited by

                            It really wouldn't surprise me if you aren't seeing the start of microsoft following what the other's have already done.

                            It seem's like everytime I update edge on a machine at the shop I have to go through the setting's and disable a bunch of crap and they advertise that edge is secure what a joke.

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

                              @DaddyGo said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                              this is not a pfSense theme yet, but it will be...

                              Not trying to be defensive, but no this will never be a pfsense anything.. What some OS does, be it linux, be it windows, be it beos or bsd, mac osx, etc. etc..

                              The only way this would have anything to do with pfsense would be if freebsd decided to only allow for doh, etc.. ;)

                              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

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

                                @johnpoz said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                                Not trying to be defensive, but no this will never be a pfsense anything..

                                You are absolutely right in this, but we defend against this in the background... or not(?!)

                                F.E.:
                                pfBlockerNG DoH server list feeds or

                                4dffda86-792f-4d68-8c80-c623fee5db77-image.png

                                I came back, because I was worried about what I found...

                                FYI, John

                                The MS support team confirmed that the DoH is supported at OS level, in the "image" which I downloaded from our VLSC account.

                                Next year, everyone will get this great improvement in the 21H2 image and will not be able to be disabled from the registry.

                                https://techcommunity.microsoft.com/t5/networking-blog/windows-insiders-can-now-test-dns-over-https/ba-p/1381282

                                So no one can escape😞 ..., -towards Linux only 😉

                                sorry for the bad news

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

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

                                  Where does it state that is will on by default.. That you can do it is one thing, that you can't turn it off is another.

                                  In that article you list, no where does it list that you are forced to use doh.. Just that the OS supports it..

                                  That article states it will use doh if you have one of the following already set as your dns..

                                  "Now that the DoH client is active, Windows will start using DoH if you already have one of these servers configured:"

                                  And shows you how to setup and point to your own doh.. And sure it states once this is no longer insider you will not have to do the registry.. But I see nowhere that says or states that its going to use doh be it you like it or not..

                                  I am just not seeing that.. Enabling doh to be used, and to use it if your pointing at some doh enabled IP is completely different than enabling it and using it without letting you not do it..

                                  From everything I have read it not forced upon you.. If I point to 192.168.1.1 as my dns - that will be what is used.

                                  What is a concern is what if you are using one of their doh IPs that they list - and you don't want to use doh? Because sure doh is more secure - its also freaking SLOWER!!! Guess the take is if your worried about dns speed or being able to see what is being queried from your local clients - you would use a local dns.

                                  While they currently only list quad9, cloudflare and google for doh servers. Who wants to bet that MS has their own doh up and running before this goes live? ;)

                                  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

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

                                    @DaddyGo All these DNS providers, dangling this 'carrot'. Eat this one, it's more secure than that one... Free. My mom taught me that when someone says free, run away. It seems that no one is taught that anymore these days... But I digress. I agree with johnpoz, MS will have something, just wait. Genuine MS DNS servers doing DOH. Collecting market data they can cash in on. Nobody does something expensive for free. But as long as the OS abides by what I set for DNS servers, I'm good. And it looks like it will.

                                    It looks like you are using Firefox. I would be more concerned with that, because it can use its own DNS and DOH and ignore what you have set in the OS. This is more worrisome than Windows DOH IMO. How dare they ignore what I have set on my computer. You can imagine parents who have set one of those DNS server services that block adult stuff, only to discover that the child's browser is not using it.

                                    Tzvia

                                    Current build:
                                    Hunsn/CWWK Pentium Gold 8505, 6x i226v 'micro firewall'
                                    16 gigs ram
                                    500gig WD Blue nvme
                                    Using modded BIOS (enabled CSTATES)
                                    PFSense 2.72-RELEASE
                                    Enabled Intel SpeedShift
                                    Snort
                                    PFBlockerNG
                                    LAN and 5 VLANS

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

                                      @Tzvia said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                                      You can imagine parents who have set one of those DNS server services that block adult stuff, only to discover that the child's browser is not using it.

                                      That is great example of this doh shit can shoot you in the foot for sure..

                                      The browsers and other apps doing this is WAY worse than the OS supporting it.. So if the OS supports it - you think the browsers will adhere to using what your OS is using vs their own circumvention of the users wishes of using what dns they want?

                                      And that is opt out vs opt in total utter BS!!! I don't care how freaking stupid they think the users are - we are doing this for their own good my f'ing ASS!!!!!

                                      Its not spying on where your going - if you ask me for dns ;)

                                      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 1
                                      • DaddyGoD
                                        DaddyGo @johnpoz
                                        last edited by DaddyGo

                                        @johnpoz said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                                        Where does it state that is will on by default..

                                        Since we have been MS partner and insider for almost 15 years.
                                        I called our contact person at the support group, here I got this information and point at the end of the sentence.
                                        Since I also asked if it could be turned off in the registry, i got this link where it is strongly highlighted that it will not be possible to do so!

                                        I’m just giving you data and I’m not arguing, so that’s it for me.
                                        It’s all about projecting the future forward, so as not to be surprised, John let’s talk about from this then in half a year or maybe one...

                                        The image (20H2 clean) can still be tried, I would only post anything after that...

                                        +++edit:
                                        I leave this machine hanging on a Wireshark and post some pcap files in a while to analyze and see...
                                        right now this is most of what I do

                                        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
                                        • DaddyGoD
                                          DaddyGo @Tzvia
                                          last edited by

                                          @Tzvia said in MS activated DoH at the operating system level, in this "great" 20H2 release...?!:

                                          dangling this 'carrot'. Eat this one, it's more secure than that one... Free.

                                          Thanks for this mindful post, do you have your own opinion and experience?
                                          I’m happy to give you the "image", you give it a try and talk about it...
                                          Carrots what? cool 😁

                                          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
                                          • provelsP
                                            provels
                                            last edited by

                                            Sounds to me that though it's supported, it's not enforced. What would happen to those of us using the resolver and talking to the roots?

                                            Peder

                                            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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