Encrypt your DNS with TLS aka DoT

Comments

14 comments

  • Avatar
    Chris Hewitt

    Kind of defeats the purpose to use googles DNS and let them collect all the sites you’re going to. That’s why I do nothing but use unbound now.

    I also suggest using dnsleaktest.com to see who can observe your DNS queries. The best results, like the example below, are when only you ( your IP address) knows about your DNS queries.

    0
    Comment actions Permalink
  • Avatar
    JD Brookins

    Very interesting. Kinda of getting the best of both worlds here being that quad9 uses unbound. How will this affect firewalla's other features?

    0
    Comment actions Permalink
  • Avatar
    Chris Hewitt

    Three years not a single negative effect. I also monitor my Gold Plus with bpytop.

    0
    Comment actions Permalink
  • Avatar
    JD Brookins

    That's good to know. Thanks!

    0
    Comment actions Permalink
  • Avatar
    JD Brookins

    Now that I'm at my box. I can't seem to write the file. I get a "E212: Can’t open file for writing" error. I put sudo before the command. Am I missing something?

    0
    Comment actions Permalink
  • Avatar
    AZ

    JD Brookins you do need sudo there.  Make sure you are in the right directory.  Without sudo vi will throw those errors.

    Also just FYI theDude you can use 3 or even more DNS resolvers in the conf file.  Unbound will do some combination of randomly picking one plus some load balancing/favoring faster responding resolvers.  So having at least 2 will get rid of any chance that the one DNS you are relying on is totally down.  (which, admittedly, is a very very tiny chance)

    0
    Comment actions Permalink
  • Avatar
    theDude

    Glad you guys are finding this useful... Initially I was coming from a pfsense setup, and I wanted to replicate my DNS config to the firewalla.  I was also hoping that firewalla would eventually just make DNS over TLS a toggle switch option within the app.
    There are definitely numerous use case scenarios, hopefully this guide either provided exactly what you needed, or at least gave you a very good start. 

    0
    Comment actions Permalink
  • Avatar
    Geo

    The Guy AZ

    First of all thank you for posting this!
    I assume this DoT w/ UnBound is preferred over just DoH and/or just Unbound as I read you can not do both (but it does allow me to turn both on)? The more I read the more I'm undecided. lol

    Also in Firewalla "DNS over VPN" looks to be connected to UnBound section in the app. And it allows VPN to be turned on.
    I assume this all works together with UnBound (and DoT w/ UnBound) WITH VPN and would make it even more secure/better/hidden?

    Though I'm a little confused about what takes priority and/or what the difference is if I use Proton as a 3rd party VPN in Firewalla for some devices (There is also an option under the VPN to also use DNS over VPN).

    I pay for Proton and therefore have a good VPN so might be an option to use this on things I don't do full VPN?

    PS - AZ how do we add a 2nd or 3even rd DNS entry like you mentioned? Eg. Quad9 and maybe Cloudflare
    Just another set of the whole 7 lines of the "forward-zone" or?

    Thanks!!!

    0
    Comment actions Permalink
  • Avatar
    Geo

    Chris Hewitt

    I have been trying everything and can't seem to get my DNS to resolve to just my ISP IP (Xfinity/Comcast in US).

    Are you using local Pi-Hole or similar?

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Chris Hewitt

    Can you describe what you are doing and share screenshots please? Also, are you using IPv6? I’ve not tried that on pihole.

    0
    Comment actions Permalink
  • Avatar
    Geo

    Chris Hewitt Thanks for reply!

    I just went down a rabbit hole and have been experimenting with trying the various Firewalla options and testing the results in:

    https://dnscheck.tools/
    https://ipleak.net/
    https://dnsleaktest.com/

    DNS over HTTPS only
    UnBound only
    UnBound with DNS over VPN
    UnBound with DoT (as discussed in this thread)
    UnBound with DoT and DNS over VPN

    But was curious how you have it. From what I very little I learned it only sounds possible with some type of internal DNS like Pi-Hole or AdGuard setup. 

    Thanks!

    PS - I have IPv6 turned off on my FWGpro but I did keep the IPv6 Quad9 entries in this DoT post instructions JIC?

    0
    Comment actions Permalink
  • Avatar
    Geo

    Thanks TEM !

    0
    Comment actions Permalink
  • Avatar
    Geo

    Chris Hewitt

    I found out why I wasn't getting my local IP.
    That was because I was using the above conf with Quad9 and/or Cloudflare not the default recursive Unbound. I deleted the conf and tested it and got my own IP.

    TEM theDude

    Does this new .conf need to be recreate every time the Firewalla updates?
    I assume not but wanted to double check.

    Thanks again!

    0
    Comment actions Permalink

Please sign in to leave a comment.