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

    Enabling DoT (DNS over TLS) breaks IPSec VPN DNS

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 1 Posters 514 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
      seanmcb
      last edited by

      We have a setup that has worked well for a long time. Among other services, we run DNS and 'road warrior' IPSec VPN to access the office from home. We're using pfsense plus 22.05 (current newest).

      Then we turned on DoT for local clients. i.e. enabled the Respond to incoming SSL/TLS queries from local clients checkbox. Inside the LAN, it works great! UDP port 853 is open, and DoT works according to tests with kdig.

      Alas, for those connected from home by IPSec VPN, DNS is totally broken, for clients on Windows, Mac, and Ubuntu. It's not only that DoT doesn't work, but plain old DNS doesn't work either. I did a port scan with nmap and it shows that port 53 and 853 are not open.

      If I disable the DoT checkbox, DNS works again. I redo the port scan and port 53 is back open.

      How can I debug this further?

      Thanks.

      1 Reply Last reply Reply Quote 1
      • S
        seanmcb
        last edited by

        Today we tried turning off DNSSEC, but that made no difference.

        Also, it's not clear to me if DoT uses UDP or TCP, or both/either. But in fact, both over IPSec and inside the LAN, TCP 853 is open and working.

        But plain old UDP 53 is still broken (only over IPSec) by enabling DoT, which is what I'm looking to solve.

        1 Reply Last reply Reply Quote 1
        • S
          seanmcb
          last edited by

          Solution: https://redmine.pfsense.org/issues/13454

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