Hello, friends.

So I’ve had my Pi-Hole setup for awhile now and it’s great. I’d like to get Wireguard working with it, too, so I could browse the internet without loads of ads and trackers on the go.

However, small issue. All DNS traffic is forcibly routed to my ISP. If you need some details, I made this post on the Pi-Hole userspace.

I’m in America and my ISP is Spectrum. I was wondering if there’s a way I could convince technical support to allow me to use a recursive DNS for privacy/security (more-so the second of the two) purposes, or if it is even possible to convince them to do this. I don’t know if there’s a specific number I should contact, email I should email to, or if I just have to endure the nightmare of getting passed around by customer service one Saturday. Any recommendations would be great.

An interesting note for anyone who’s ISP is Spectrum, their DNS service, at least for me, uses OpenDNS with dnsmasq-2.57. That version of dnsmasq is over 10 years old. You see if this is the case for you with

dig CHAOS TXT version.bind @192.33.4.12 +short
dig CHAOS TXT version.bind @198.97.190.53 +short

Or something similar if those IP addresses are different for you. You can see that running those commands were a part of the steps I was asked to take in that Pi-Hole userspace post.

  • Tenkian@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 years ago

    Another option you can have, install the cloudflared service on your pihole and use that as a DNS server. Cloudflared can take DNS requests from your clients and then proxy those requests over DoT to an upstream server which supports DNS over TLS. I have used Google in the past for this. I had great success with this solution inside a corporate environment which blocked port 53 to all outside the network.

    • ChrislyBear@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Could you elaborate on this please? Isn’t cloudflared a tunnel INTO the machine running a service? Can you use the same tunnel for outbound traffic as well?? Where does the traffic end up? How does this work?

      • Tenkian@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        It was a while ago, so I can’t remember exactly but there is a good article here The cloudflared daemon is setup to run a standard DNS server over TCP/UDP port 53 as normal. You configure the upstream DNS to be DoT based. The clients then send DNS requests as normal to the cloudflared service and then they convert them to DoT upstream and the response is then sent back to the client as a normal DNS response.

  • psud@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    You can have your own machine do DNS lookups, a Linux box with BIND, and any other of your computers can have the DNS resolver set to that machine

    You need to forward port 53 from your router (usually a wifi router) to the machine running the DNS

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 years ago

    Oh, your ISP is very shitty, just like mine! Mine even do deep packet inspection! My solution is by using several upstream DNS servers that listen on alternate ports (so the requests are not intercepted by my ISP), and using TLS and QUIC (can’t intercept it because it’s encrypted). Can’t use DoH though because my ISP somehow can make it timeouts most of the time.

    My Adguard upstream DNS settings (Adguard is configured to try all of them at once and use the one that respond first):

    tls://1.1.1.1

    tls://1.0.0.1

    tls://8.8.8.8

    tls://8.8.4.4

    tcp://9.9.9.9:9953

    udp://9.9.9.9:9953

    quic://unfiltered.adguard-dns.com

    • YonatanAvhar@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      Why do ISPs put in the extra effort to make their service shittier? What benefit do they gain from forcing more load to their DNS servers?

      • redcalcium@lemmy.institute
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        My country has a national block list that must be followed by all ISP. Last year, they even went an extra mile to enforce the DNS hijacking at internet backbone level, so if any ISP neglect to do it, it’ll still get enforced by the national internet backbone.

        My ISP is fully embracing this system, to the point of performing deep packet inspection to enforce the national block list. Any blocked domain will return an IP address containing a web page full of ads (basically saying that the domain is blocked, here are some ads instead)I guess it’s profitable for them to do this. They also blocked Netflix using this system for years until Netflix caved in and partner with the ISP to sell subscription (yay for no net neutrality I guess).

  • suprjami@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Can you force all DNS via TRR (aka DNS-over-HTTPS)?

    I don’t know what Pi-Hole is capable of but that’s possible on open source routers like OpenWrt.

  • HousePanther@lemmy.goblackcat.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    You would have to implement DNS over TLS. To do this, it’s probably easiest to use Unbound and a service like Cloudflare or OpenDNS upstream. Spectrum probably hopes to harvest your DNS traffic and monetize it or maybe they’re doing some preemptive sanitizing of your requests to prevent you from going to a bad site. Regardless, I am anti DNS highjacking. It’s wrong on many points.

  • duffkiligan@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    I have spectrum and they don’t forcibly route anything for me.

    You must have either their modem maybe? Or you have the DNS helper setting where if you mistype a url it redirects you.

    Either way there is a way to disable it because it doesn’t happen for me and hasn’t in the many years I’ve had them across the country.

      • duffkiligan@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        They are better than Comcast but that’s a low bar.

        Overall I get Gig speeds for $80/m which isn’t terrible and no data cap. My previous house AT&T fiber was the same cost but better. I don’t have a choice where I live now so it’s Spectrum or DSL