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

    DNSCrypt - OpenDNS - securing DNS communication

    Scheduled Pinned Locked Moved DHCP and DNS
    11 Posts 4 Posters 9.5k 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.
    • Y
      yon
      last edited by

      me too. I want to get this.

      http://forum.pfsense.org/index.php/topic,48520.0.html

      If you are interested in free peering for clearnet and dn42,contact me !

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

        Not really seeing the point to this?  So you feel your ISP is sniffing in on your traffic for what domains you query?

        Are you tunneling past them with a vpn for all your other traffic?  If not they can watch where you go that way.  If you are using a tunnel to past them - then why would your dns not go thru this same tunnel?

        So who exactly are you securing your dns queries from?

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

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

          The more data during transmission hijacking and tampering. This situation is more the behavior of some governments.

          And even violations of google and root dns server.

          If you are interested in free peering for clearnet and dn42,contact me !

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

            What?  And again if you were using say a vpn tunnel - even if the guys in black helicopters were watching the dns queries to googledns or roots - they would just see the vpn endpoint IP doing the queries, going to the sites.

            If your not using a vpn to have some other IP go to the sites your going to, then even if your dns traffic is encrypted.  The government could still see where your going without the dns info.

            Just really at a loss to understand the need for encryption of your dns traffic, without hiding your actual endpoint traffic completely - if your hiding your endpoint traffic completely then there is no reason to encrypt your dns traffic that I can see.

            As to someone forging dns, etc. which from my understandings is the main reason for dnscurve - prevention of such attacks.  Again even if a government was going it - if you move your vpn endpoint outside the control of whoever (isp/black helicopters) then how would they forge dns packets to you?

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

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

              The government blocked network involves many techniques and different ways.

              We want to gradually resolve a problem.  We need an easy way to get the real DNS data.

              We can't always use VPN.

              If you are interested in free peering for clearnet and dn42,contact me !

              1 Reply Last reply Reply Quote 0
              • OceanwatcherO
                Oceanwatcher
                last edited by

                Johnpoz - I did not bring up any government action at all, Yon did.

                As the OP, my request stands. I would like to see this, as it is yet another way of securing - not the traffic itself, but in this case, the DNS communication. Does it need it? There has already been attacks that has targeted DNS. And if this gives us one more tool to protect ourselves against problems, is it not a good thing?

                No matter what - with a setting in pfSense for this, you could decide yourself if you want to use it. The same way you do with everything else in pfSense :-)

                Regards,

                Oceanwatcher
                2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                  "There has already been attacks that has targeted DNS"

                  And how does encrypting your traffic to a public server stop said attacks?

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

                  1 Reply Last reply Reply Quote 0
                  • N
                    NOYB
                    last edited by

                    @johnpoz:

                    "There has already been attacks that has targeted DNS"

                    And how does encrypting your traffic to a public server stop said attacks?

                    Perhaps the objective is to assure the DNS queries/responses cannot be tampered with in transit between server and client.  Not necessarily to obscure ones activity.  Isn't that what DNS Sec is all about too?

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

                      exactly - but dnssec tells you the records are from the owning server and have not been tampered with.  dnscrypt only tells you that the data was not tampered with from the server you asked it for, does not mean the record is valid or has not been tampered before it got to the server you asked.

                      that is why I asked how it prevents attacks.  If I attack a domain dns, dnscrypt does nothing to prevent me from impersonating the owning server of said domain.  Just because the response from opendns is signed/encrypted does not mean what opendns is giving me is good info.

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

                      1 Reply Last reply Reply Quote 0
                      • OceanwatcherO
                        Oceanwatcher
                        last edited by

                        @johnpoz:

                        Just because the response from opendns is signed/encrypted does not mean what opendns is giving me is good info.

                        I think we are now into the academic area. At some point you have to trust someone. Yes, OpenDNS can serve bad data sometimes as bad data can propagate through the system.

                        A couple of questions: What exactly does DNSSEC do? Does it encrypt the traffic between the DNS and yourself? Or is it merely a way to say "OpenDNS is actually OpenDNS"? If is the latter, then I actually would prefer BOTH - a verification that the DNS actually is the real one, and encrypted traffic so no others can tamper with the data between the DNS and me.

                        But in both these scenarios are there any way to secure that the data OpenDNS has received is actually good. That is something that will have to rely on the communication they receive. What is important to me, and the only thing I can do anything about, is to ensure that the data gets from OpenDNS to me without going through a man in the middle or in any other way gets tampered with.

                        The DNS I use will have to take the necessary steps to ensure the data they receive is good. I can only trust that they do it, not do anything about it.

                        Regards,

                        Oceanwatcher
                        2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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