rethink-app icon indicating copy to clipboard operation
rethink-app copied to clipboard

DANE is incompatible with split DNS

Open GrassGlass opened this issue 3 weeks ago • 0 comments

Disclaimer: I have read the HNS + DANE issue but it seems more for Handshake/HNS rather than DANE specifically. So, I'm making this issue. Sorry if I'm mistaken and this is a duplicate.

Working setup without RethinkDNS

In the following, I use my VPN provider IVPN as an example but I'm pretty sure you could substitute any VPN provider whose DNS resolver is able to validate DANE responses. For instance, I experienced the same issue on ProtonVPN before.

With that out of the way, let's dive in.

  1. First, let's connect to IVPN using their app:
Image
  1. Then, set up an IMAP account in FairEmail with DNSSEC and DANE enforcement enabled. Note: you must select an email provider, such as mailbox.org, who supports DANE for SMTP.
Image
  1. Load your emails (head to the home page of FairEmail and pull down to reload your IMAP inbox)

To confirm, you can head to the Operations tab in the sidebar, where (unless the sync has ended before you enter this tab) you will see:

Image
  1. The sync completes in some time and does not error out
Image

With RethinkDNS + IVPN WireGuard proxies instead of IVPN app

Expected behavior

The above process works the same as with the IVPN/Proton VPN/etc apps.

Current behavior

  1. Connect to RethinkDNS and route FairEmail through an IVPN WireGuard proxy. Also, allow all DNS record types in Configure > DNS > Filtering > Allowed DNS record types > Auto (all types)
Image Image

2-4. Same as above. 5. The Operations tab does not empty out. Our DANE-enabled IMAP inboxes fail to sync:

Image

A warning icon also appears in FairEmail's home page. When we click on it:

Image

Edit

The experimental split DNS feature of RethinkDNS is the issue here.

GrassGlass avatar Nov 09 '26 13:11 GrassGlass